Bengt Rutisson
8e2f1d5560
8077403: Remove guarantee from GenCollectedHeap::is_in()
...
Reviewed-by: mgerdin, jmasa
2015-04-14 11:24:03 +02:00
Per Lidén
ca9afd25f6
8077413: Avoid use of Universe::heap() inside collectors
...
Reviewed-by: stefank, kbarrett
2015-04-13 15:47:48 +02:00
Bengt Rutisson
c3b72f7f5b
8076454
: Clean up/move things out of SharedHeap
...
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:06:07 +02:00
Per Lidén
ff23a17283
8076231: Remove unused is_in_partial_collection()
...
Reviewed-by: brutisso, drwhite
2015-03-31 08:27:30 +02:00
Marcus Larsson
7727fe0044
8072621: Clean up around VM_GC_Operations
...
Reviewed-by: brutisso, jmasa
2015-02-13 09:48:49 +01:00
Marcus Larsson
20bfd4cf7c
8066566: Refactor ParNewGeneration to contain ParNewTracer
...
Reviewed-by: ehelin, kbarrett
2015-02-11 14:47:21 +01:00
Erik Helin
f3997d8eed
8064721: The card tables only ever need two covering regions
...
Reviewed-by: jmasa, tschatzl, kbarrett
2014-11-18 10:36:42 +01:00
Marcus Larsson
f6ab247c45
8055091: CollectedHeap::_reserved usage should be cleaned up
...
Added an initialization function for _reserved.
Reviewed-by: mgerdin, jwilhelm
2014-09-18 12:45:45 +02:00
Thomas Schatzl
100e51a339
8038423: G1: Decommit memory within heap
...
Allow G1 to decommit memory of arbitrary regions within the heap and their associated auxiliary data structures card table, BOT, hot card cache, and mark bitmaps.
Reviewed-by: mgerdin, brutisso, jwilhelm
2014-08-19 14:09:10 +02:00
Jesper Wilhelmsson
ded8b863dd
8042298: Remove the names gen0 and gen1 from the GC code
...
Renamed gen0 and gen1 to young and old throughout the GC code.
Reviewed-by: sjohanss, jcoomes
2014-05-02 02:11:34 +02:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Erik Helin
853fffb2cb
8036703: Add trace event with statistics for the metaspace chunk free lists
...
Reviewed-by: stefank, mgerdin, coleenp, egahlin
2014-03-18 09:03:28 +01:00
Bengt Rutisson
9b29efeb63
8030177: G1: Enable TLAB resizing
...
Reviewed-by: tschatzl, stefank, jmasa
2014-01-27 13:14:53 +01:00
Jesper Wilhelmsson
81ba2e32c0
8025856: Fix typos in the GC code
...
Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Bengt Rutisson
810bc0c558
8029524: Remove unsused method CollectedHeap::unsafe_max_alloc()
...
Reviewed-by: pliden, jmasa
2013-12-16 08:54:14 +01:00
Jesper Wilhelmsson
0fa3a71c8a
8016309: assert(eden_size > 0 && survivor_size > 0) failed: just checking
...
7057939: jmap shows MaxNewSize=4GB when Java is using parallel collector
Major cleanup of the collectorpolicy classes
Reviewed-by: tschatzl, jcoomes
2013-11-01 17:09:38 +01:00
Erik Helin
3ea9481c2f
8014659: NPG: performance counters for compressed klass space
...
Reviewed-by: mgerdin, coleenp, hseigel, jmasa, ctornqvi
2013-08-07 16:47:32 +02:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Stefan Karlsson
e96efdaa1a
8011872: Include Bit Map addresses in the hs_err files
...
Reviewed-by: brutisso, jmasa
2013-04-10 14:26:49 +02:00
Mikael Gerdin
89120e7827
7014552: gc/lock/jni/jnilockXXX works too slow on 1-processor machine
...
Keep a counter of how many times we were stalled by the GC locker, add a diagnostic flag which sets the limit.
Reviewed-by: brutisso, ehelin, johnc
2013-03-28 10:27:28 +01:00
Thomas Schatzl
e1df78e390
6733980: par compact - TraceGen1Time always shows 0.0000 seconds
...
Use the correct collector to retrieve accumulated gen1 trace time
Reviewed-by: johnc, jmasa
2013-03-14 09:37:38 +01:00
Jon Masamitsu
79c091f287
6976528: PS: assert(!limit_exceeded || softrefs_clear) failed: Should have been cleared
...
Reviewed-by: johnc
2013-03-12 11:00:49 -07:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Bengt Rutisson
f695b75d78
4988100: oop_verify_old_oop appears to be dead
...
Removed oop_verify_old_oop and allow_dirty. Also reviewed by: alexlamsl@gmail.com
Reviewed-by: jmasa, jwilhelm
2012-04-16 08:57:18 +02:00
John Coomes
5f0143a774
6330863: vm/gc/InfiniteList.java fails intermittently due to timeout
...
In some cases, allocate from the old gen before doing a full gc
Reviewed-by: stefank, jmasa
2012-02-16 13:13:53 -08:00
Antonios Printezis
44b419af51
7099849: G1: include heap region information in hs_err files
...
Reviewed-by: johnc, brutisso, poonam
2011-11-08 00:41:28 -05:00
Stefan Karlsson
5b6ba4e611
7085906: Replace the permgen allocated sentinelRef with a self-looped end
...
Remove the sentinelRef and let the last Reference in a discovered chain point back to itself.
Reviewed-by: ysr, jmasa
2011-09-01 16:18:17 +02:00
Antonios Printezis
937d6ded89
6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap
...
Remove two unused parameters from the mem_allocate() method and update its uses accordingly.
Reviewed-by: stefank, johnc
2011-06-16 15:51:57 -04:00
John Cuthbertson
b94d0b830c
7004681: G1: Extend marking verification to Full GCs
...
Perform a heap verification after the first phase of G1's full GC using objects' mark words to determine liveness. The third parameter of the heap verification routines, which was used in G1 to determine which marking bitmap to use in liveness calculations, has been changed from a boolean to an enum with values defined for using the mark word, and the 'prev' and 'next' bitmaps.
Reviewed-by: tonyp, ysr
2011-06-14 11:01:10 -07:00
Jon Masamitsu
6819e3739e
7041789: 30% perf regression with c2/arm following 7017732
...
Implement a more accurate is_scavengable()
Reviewed-by: stefank, jcoomes, ysr
2011-05-03 10:30:34 -07:00
Vladimir Kozlov
287139e5a5
7014874: Incorrect COOPs modes on solaris-{sparcv9,amd64} with ParallelGC
...
Align old gen size down to keep specified heap size.
Reviewed-by: ysr
2011-02-08 16:12:16 -08:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Tom Rodriguez
1571a4a56f
6970683: improvements to hs_err output
...
Reviewed-by: kvn, jrose, dholmes, coleenp
2010-10-21 11:55:10 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Jon Masamitsu
f5197d0d36
6858496: Clear all SoftReferences before an out-of-memory due to GC overhead limit
...
Ensure a full GC that clears SoftReferences before throwing an out-of-memory
Reviewed-by: ysr, jcoomes
2010-04-13 13:52:10 -07:00
Y. Srinivas Ramakrishna
331512606a
6896647: card marks can be deferred too long
...
Deferred card marks are now flushed during the gc prologue. Parallel[Scavege,OldGC] and SerialGC no longer defer card marks generated by COMPILER2 as a result of ReduceInitialCardMarks. For these cases, introduced a diagnostic option to defer the card marks, only for the purposes of testing and diagnostics. CMS and G1 continue to defer card marks. Potential performance concern related to single-threaded flushing of deferred card marks in the gc prologue will be addressed in the future.
Reviewed-by: never, johnc
2010-01-13 15:26:39 -08:00
Y. Srinivas Ramakrishna
928ac69fcd
6888898: CMS: ReduceInitialCardMarks unsafe in the presence of cms precleaning
...
6889757: G1: enable card mark elision for initializing writes from compiled code (ReduceInitialCardMarks)
Defer the (compiler-elided) card-mark upon a slow-path allocation until after the store and before the next subsequent safepoint; G1 now answers yes to can_elide_tlab_write_barriers().
Reviewed-by: jcoomes, kvn, never
2009-10-16 02:05:46 -07:00
John R Rose
e261aecad8
6863023: need non-perm oops in code cache for JSR 292
...
Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
Y. Srinivas Ramakrishna
075c1335cb
6700789: G1: Enable use of compressed oops with G1 heaps
...
Modifications to G1 so as to allow the use of compressed oops.
Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
2009-07-14 15:40:39 -07:00
John R Rose
cfb08c72ba
6814659
: separable cleanups and subroutines for 6655638
...
Preparatory but separable changes for method handles
Reviewed-by: kvn, never
2009-03-20 23:19:36 -07:00
Vladimir Kozlov
69f9ddee90
6791178: Specialize for zero as the compressed oop vm heap base
...
Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb.
Reviewed-by: never, twisti, jcoomes, coleenp
2009-03-12 10:37:46 -07:00
John Coomes
2e52e9dff2
6716466: par compact - remove VerifyParallelOldWithMarkSweep code
...
Reviewed-by: jmasa
2008-09-30 11:49:31 -07:00
Igor Veresov
4204f82a1a
6740923: NUMA allocator: Ensure the progress of adaptive chunk resizing
...
Treat a chuck where the allocation has failed as fully used.
Reviewed-by: ysr
2008-09-27 00:33:13 -07:00
Jon Masamitsu
b8633a3b01
Merge
2008-07-28 15:30:23 -07:00
Coleen Phillimore
20dba03e99
6716785: implicit null checks not triggering with CompressedOops
...
Allocate alignment-sized page(s) below java heap so that memory accesses at heap_base+1page give signal and cause an implicit null check
Reviewed-by: kvn, jmasa, phh, jcoomes
2008-07-19 17:38:22 -04:00
Jon Masamitsu
18dbebd143
6672698: mangle_unused_area() should not remangle the entire heap at each collection
...
Maintain a high water mark for the allocations in a space and mangle only up to that high water mark.
Reviewed-by: ysr, apetrusenko
2008-07-09 15:08:55 -07:00
Xiomara Jayasena
c96a95c4b8
6719955: Update copyright year
...
Update copyright year for files that have been modified in 2008
Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Andrey Petrusenko
252a10cf1a
6539517: CR 6186200 should be extended to perm gen allocation to prevent spurious OOM's from perm gen
...
Reviewed-by: ysr, jmasa
2008-04-01 15:13:47 +04:00
Jon Masamitsu
6c0c606249
6557851: CMS: ergonomics defaults are not set with FLAG_SET_ERGO
...
Default values set by cms ergonomics are set with FLAG_SET_DEFAULT so down stream the values look like the default values and affect how later parameters are set. Set these values with FLAG_SET_ERGO instead and adjust how later parameters are interpreted.
Reviewed-by: iveresov, apetrusenko, pbk, ysr
2008-03-02 16:10:12 -08:00