Stefan Karlsson
1b001a2afd
8049421: G1 Class Unloading after completing a concurrent mark cycle
...
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
ef1e9b3c80
8049420: Backout 8048248 to correct attribution
...
Reviewed-by: ehelin, brutisso
2014-07-07 12:37:11 +02:00
Stefan Karlsson
8c3aced316
8048248: G1 Class Unloading after completing a concurrent mark cycle
...
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Erik Helin
40e186ac67
8048895: Back out JDK-8027915
...
Reviewed-by: mgerdin, stefank
2014-07-02 11:05:10 +02:00
Erik Helin
4241d1c605
8027915: TestParallelHeapSizeFlags fails with unexpected heap size on sparcv9
...
Reviewed-by: jmasa, sjohanss
2014-06-24 15:50:50 +02:00
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Bengt Rutisson
9672a26d51
8043607: Add a GC id as a log decoration similar to PrintGCTimeStamps
...
Reviewed-by: jwilhelm, ehelin, tschatzl
2014-06-19 13:31:14 +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
Bengt Rutisson
426151a22e
8043239: G1: Missing post barrier in processing of j.l.ref.Reference objects
...
Removed all write barriers during reference processing and added explicit write barriers when iterating through the discovered list.
Reviewed-by: pliden, jmasa, tschatzl
2014-06-03 10:44:36 +02:00
Coleen Phillimore
388434f387
Merge
2014-05-12 09:47:57 -04: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
Gerard Ziemski
ed9c096396
8038654: Separate SymbolTable and StringTable code
...
Refactor stringTable class out of symbolTable, making sure all includes are minimal set and are sorted.
Reviewed-by: coleenp, stefank
2014-05-07 14:16:45 -05:00
Stefan Karlsson
d78446aa45
8039743: Use correct format specifier to print size_t values and pointers in the GC code
...
Co-authored-by: Mikael Vidstedt <mikael.vidstedt@oracle.com>
Reviewed-by: jmasa, sjohanss
2014-04-09 13:54:32 +02:00
Erik Helin
977d1f7a5d
8038934: Remove prefix allocated_ from methods and variables in Metaspace
...
Reviewed-by: jmasa, coleenp
2014-03-31 17:09:38 +02:00
Jon Masamitsu
8c7d064ee8
7098155: Resize young gen at full collections for UseParallelGC
...
Reviewed-by: tschatzl
2014-03-05 07:34:35 -08: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
Stefan Johansson
5f4d0e9c25
8028993: Full collections with ParallelScavenge slower in JDK 8 compared to 7u40
...
Reducing the number of calls to follow_class_loader to speed up the marking phase. Also removed some unnecessary calls to adjust_klass.
Reviewed-by: stefank, jmasa, mgerdin
2013-12-10 10:31:00 +01:00
Markus Grönlund
b1e3461fe5
8028128: Add a type safe alternative for working with counter based data
...
Reviewed-by: dholmes, egahlin
2013-11-23 12:25:13 +01:00
Jesper Wilhelmsson
11da59e506
8025853: Remove unnecessary uses of GenerationSizer
...
Removed stray includes and some minor cleanup of GenerationSizer
Reviewed-by: tschatzl, jcoomes
2013-10-03 17:16:23 +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
John Coomes
de314e391b
6725714: par compact - add a table to speed up bitmap searches
...
Reviewed-by: jmasa, tschatzl
2013-05-30 13:04:51 -07:00
Stefan Karlsson
2ccd92e927
8015268: NPG: 2.5% regression in young GC times on CRM Sales Opty
...
Split SystemDictionary and ClassLoaderDataGraph root processing to help load balancing.
Reviewed-by: tschatzl, johnc
2013-05-27 15:22:59 +02:00
Tao Mao
1e80919f4c
8007762: Rename a bunch of methods in size policy across collectors
...
Rename: compute_generations_free_space() = compute_eden_space_size() + compute_old_gen_free_space(); update related logging messages
Reviewed-by: jmasa, johnc, tschatzl, brutisso
2013-05-22 11:11:47 -07:00
Tao Mao
47c64fb0c3
7186737: Unable to allocate bit maps or card tables for parallel gc for the requested heap
...
Print helpful error message when VM aborts due to inability of allocating bit maps or card tables
Reviewed-by: jmasa, stefank
2013-05-20 10:44:33 -07:00
Erik Helin
0f9e2457c5
8014277: Remove ObjectClosure as base class for BoolObjectClosure
...
Reviewed-by: brutisso, tschatzl
2013-05-17 11:57:05 +02:00
Tao Mao
87b3317478
8007763: Refactoring: split up compute_generation_free_space() into two functions for class PSAdaptiveSizePolicy
...
Split up compute_generation_free_space() into two functions: compute_eden_space_size() + compute_old_gen_free_space(), each of which (if needed) can be reused without executing an overhead of the other.
Reviewed-by: jmasa, tschatzl
2013-05-15 10:41:22 -07:00
Bengt Rutisson
d3a0a48fbb
8014339: Improve assert and remove some dead code from parMarkBitMap.hpp/cpp
...
Reviewed-by: stefank, tschatzl
2013-05-13 14:09:05 +02:00
Stefan Karlsson
ad20a6bd76
8013160: NPG: Remove unnecessary mark stack draining after CodeCache::do_unloading
...
Reviewed-by: coleenp, mgerdin
2013-04-26 10:40:36 +02:00
Stefan Karlsson
f0ae855b07
8013132: Add a flag to turn off the output of the verbose verification code
...
Reviewed-by: johnc, brutisso
2013-04-24 20:13:37 +02:00
Jon Masamitsu
d72b516201
8008966: NPG: Inefficient Metaspace counter functions cause large young GC regressions
...
Reviewed-by: mgerdin, coleenp
2013-02-12 14:15:45 -08:00
Stefan Karlsson
bdf829cf3e
8012687: Remove unused is_root checks and closures
...
Reviewed-by: tschatzl, jmasa
2013-04-22 20:27:36 +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
Tao Mao
7cb614b0e5
8004132: SerialGC: ValidateMarkSweep broken when running GCOld
...
Remove bit-rotten ValidateMarkSweep functionality and flag.
Reviewed-by: johnc, jmasa
2013-01-02 11:32:41 -08:00
Stefan Karlsson
3c2f3a321a
8003720: NPG: Method in interpreter stack frame can be deallocated
...
Pass down a closure during root scanning to keep the class of the method alive.
Reviewed-by: coleenp, jcoomes
2012-11-27 10:13:20 +01:00
John Cuthbertson
9abdcd4a3c
8000831: Heap verification output incorrect/incomplete
...
Restore non-silent output of heap verification.
Reviewed-by: ysr, brutisso, jmasa
2012-10-15 10:02:42 -07:00
Bengt Rutisson
fcae0353d2
7200470: KeepAliveClosure not needed in CodeCache::do_unloading
...
Removed the unused keep_alive parameter
Reviewed-by: stefank, dholmes, kamg, coleenp
2012-09-25 14:58:12 +02:00
Jon Masamitsu
f6cc90e927
7199923: NPG: tools/javac/T7093325.java timeout
...
Reviewed-by: stefank, coleenp, kvn
2012-09-20 12:18:23 -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
eba9965d54
7166894: Add gc cause to GC logging for all collectors
...
Reviewed-by: mgerdin, johnc
2012-05-15 10:25:06 +02:00
John Coomes
6827f384c9
7146343: PS invoke methods should indicate the type of gc done
...
Reviewed-by: stefank, jmasa
2012-02-16 13:12:25 -08:00
Tom Rodriguez
5a41427b37
7141200: log some interesting information in ring buffers for crashes
...
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
2012-02-01 07:59:01 -08:00
John Cuthbertson
870bea622a
7117303: VM uses non-monotonic time source and complains that it is non-monotonic
...
Replaces calls to os::javaTimeMillis(), which does not (and cannot) guarantee monotonicity, in GC code to an equivalent expression that uses os::javaTimeNanos(). os::javaTimeNanos is guaranteed monotonically non-decreasing if the underlying platform provides a monotonic time source. Changes in OS files are to make use of the newly defined constants in globalDefinitions.hpp.
Reviewed-by: dholmes, ysr
2011-12-19 10:02:05 -08:00
Jon Masamitsu
71ed60ac69
7112997: Remove obsolete code ResetObjectsClosure and VerifyUpdateClosure
...
Remove obsolete code.
Reviewed-by: brutisso, ysr, jcoomes
2011-11-22 14:59:34 -08:00
Jon Masamitsu
15070123fa
6593758: RFE: Enhance GC ergonomics to dynamically choose ParallelGCThreads
...
Select number of GC threads dynamically based on heap usage and number of Java threads
Reviewed-by: johnc, ysr, jcoomes
2011-08-09 10:16:01 -07:00
John Cuthbertson
1b62d10b4b
6484982: G1: process references during evacuation pauses
...
G1 now uses two reference processors - one is used by concurrent marking and the other is used by STW GCs (both full and incremental evacuation pauses). In an evacuation pause, the reference processor is embedded into the closures used to scan objects. Doing so causes causes reference objects to be 'discovered' by the reference processor. At the end of the evacuation pause, these discovered reference objects are processed - preserving (and copying) referent objects (and their reachable graphs) as appropriate.
Reviewed-by: ysr, jwilhelm, brutisso, stefank, tonyp
2011-09-22 10:57:37 -07: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
Frederic Parain
b38843c8d9
7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
...
Add a notification to the GarbageCollectorMXBeans
Reviewed-by: acorn, mchung
2011-05-12 10:30:11 -07:00
John Coomes
f9b80cdc1c
6841742: par compact - remove unused/unsupported options
...
Ignore UseParallel{OldGCDensePrefix,OldGCCompacting,DensePrefixUpdate}
Reviewed-by: jwilhelm, brutisso
2011-04-07 17:16:20 -07:00
Y. Srinivas Ramakrishna
b4b287e7ac
6668573: CMS: reference processing crash if ParallelCMSThreads > ParallelGCThreads
...
Use _max_num_q = max(discovery_degree, processing_degree), and let balance_queues() redistribute from discovery_degree to processing_degree of queues. This should also allow a more dynamic and flexible parallelism policy in the future.
Reviewed-by: jmasa, johnc
2011-03-17 10:32:46 -07:00