666 Commits

Author SHA1 Message Date
Kim Barrett
e7d0e95b08 8139200: Eliminate G1ParClosureSuper::_worker_id
Moved _worker_id from G1ParClosureSuper to G1ParCopyHelper.

Reviewed-by: mgerdin, tschatzl
2015-10-15 10:10:13 -04:00
Thomas Schatzl
f2b8803873 Merge 2015-10-15 13:00:17 +02:00
Thomas Schatzl
6abb87fd84 8138752: G1CollectorPolicy::should_should_update_surv_rate_group_predictors() uses wrong predicate
Instead of only updating the survivor rate groups in the young gc after marking and before mixed gc, update them during young gcs outside of marking

Reviewed-by: mgerdin, drwhite
2015-10-15 10:15:08 +02:00
Thomas Schatzl
f292ac2dc2 8138750: Remove dead code in survivor rate group
Reviewed-by: mgerdin, tbenson
2015-10-15 10:13:08 +02:00
Thomas Schatzl
55988baae2 8139583: Fix formatting in survRateGroup.cpp
Reviewed-by: kbarrett, stefank
2015-10-15 10:12:17 +02:00
Thomas Schatzl
b8367b252f 8137082: Factor out G1 prediction code from G1CollectorPolicy and clean up
Factor out G1 prediction code from G1CollectorPolicy into its own class, constify methods of G1CollectorPolicy and move more implementations to the cpp file.

Reviewed-by: jmasa, sangheki, ecaspole, kbarrett
2015-10-15 10:07:28 +02:00
Mikael Gerdin
86cf323c41 8139149: Split G1 evacuate_collection_set into multiple steps
Reviewed-by: ehelin, tschatzl
2015-10-14 14:51:10 +02:00
Derek White
3133bbb7fa 8138920: Refactor the sampling thread from ConcurrentG1RefineThread
Helps enable running without concurrent refinement threads

Reviewed-by: brutisso, pliden
2015-10-26 12:22:24 -04:00
Thomas Schatzl
d7363bbd3b 8140583: Without PrintPLAB, there are superfluous newlines in the GC log messages
Conditionalize offending newlines by -XX:+PrintPLAB

Reviewed-by: mgerdin
2015-10-27 11:44:49 +01:00
Mikael Gerdin
425894f2ea 8138762: Refactor setup of evacuation closures in G1
Introduce policy class containing the root scan closures.

Reviewed-by: ehelin, stefank
2015-10-14 14:50:43 +02:00
David Lindholm
a7d89b56a8 8139434: Unify GenRemSet and CardTableRS
Reviewed-by: jwilhelm, mgerdin
2015-10-14 09:33:45 +02:00
David Lindholm
5659603602 Merge 2015-10-13 17:34:28 +02:00
Thomas Schatzl
261e7583ab 8069330: Adjustment of concurrent refinement thresholds does not take hot card cache into account
Measure HCC processing time separately and remove that time from the calculation of the refinement thresholds. HCC processing time is still taken into account for general pause time predictions.

Reviewed-by: tbenson, jmasa
2015-10-13 14:49:13 +02:00
David Lindholm
77021edbd0 8139506: Remove the WaterMark class
Reviewed-by: stefank, mgerdin
2015-10-13 14:07:05 +02:00
Stefan Karlsson
0c74942fe6 8058563: InstanceKlass::_dependencies list isn't cleared from empty nmethodBucket entries
Reviewed-by: mgerdin, vlivanov
2015-10-13 10:06:46 +02:00
David Lindholm
9e52e67f3c 8139427: Break out YoungList to own class
Reviewed-by: mgerdin, jwilhelm
2015-10-13 08:37:44 +02:00
Bengt Rutisson
df8a954b50 8139294: TestGCEventMixedWithCMSConcurrent.java still fails after JDK-8134953
Reviewed-by: jwilhelm, ecaspole
2015-10-09 20:52:59 +02:00
Bengt Rutisson
b266f13f2c 8139293: TestGCEventMixedWithG1ConcurrentMark.java fails after JDK-8134953
Reviewed-by: ecaspole, jwilhelm
2015-10-09 20:31:56 +02:00
Coleen Phillimore
af7bf9a76a Merge 2015-10-26 20:07:50 +01:00
Alexander Harlap
d18f04bb32 8139664: Delete ConcurrentMarkSweepThread::is_ConcurrentGC_thread()
Remove virtual  method with same implementation as on base class

Reviewed-by: pliden, drwhite
2015-10-22 11:33:51 -04:00
Derek White
f44c1ac1ff 8140251: Define the G1 term MMU somewhere in the source code
(MINOR) Simple comment fix to define Minimum Mutator Utilization (MMU)

Reviewed-by: jwilhelm
2015-10-21 14:13:36 -04:00
Erik Helin
aeffdfc249 8138972: G1CollectorPolicy::_max_survivor_regions should be intialized in the initializer list
Reviewed-by: jwilhelm, mgerdin
2015-10-09 15:48:30 +02:00
Bengt Rutisson
dbdf722879 8138717: TestGCEventMixedWithG1ConcurrentMark.java fails
Reviewed-by: jwilhelm, david
2015-10-08 12:44:12 +02:00
Sangheon Kim
b112b31e5b 8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: kbarrett, jmasa, jwilhelm, gziemski, zmajo
2015-10-05 14:56:19 -07:00
Carsten Varming
3f29249aee 8139134: Wrong tenuring threshold in young GC trace event
Reviewed-by: ehelin, jwilhelm
2015-10-08 12:47:17 +02:00
Erik Helin
6b721104aa 8138971: G1CollectorPolicy::_rs_lengths_prediction is not initialized before use
Reviewed-by: mgerdin, jwilhelm
2015-10-07 17:00:02 +02:00
Erik Helin
75623819fd 8138969: G1CollectorPolicy should use const for applicable methods
Reviewed-by: mgerdin, jwilhelm
2015-10-07 15:06:52 +02:00
Bengt Rutisson
3289307dbe 8138707: TestPromotionEventWithParallelScavenge.java crashes using undefined GC id
Reviewed-by: mgerdin, jwilhelm
2015-10-06 14:27:03 +02:00
Bengt Rutisson
48bbdafeed 8138863: Refactor WaitForBarrierGCTask
Reviewed-by: mgerdin, jwilhelm
2015-10-06 14:26:13 +02:00
Bengt Rutisson
ef3a3a84bc 8138862: Remove some unused code and subclasses in gcTaskManager.hpp/cpp
Reviewed-by: mgerdin, jwilhelm
2015-10-06 14:25:02 +02:00
Per Lidén
be4747bc4d 8138846: Remove unused enum ConcurrentGCThread::CGC_flag_type
Reviewed-by: jwilhelm, brutisso
2015-10-06 08:05:11 +02:00
Kim Barrett
d0ae130dd5 8138833: Remove CMMarkStack::drain
Remove unused functions and data members.

Reviewed-by: pliden, brutisso
2015-10-05 21:17:11 -04:00
Christian Thalinger
16526e000e 8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
Alexander Harlap
786cdcb65d 8130265: gctests/LargeObjects/large001 fails with OutOfMemoryError: Java heap space
Avoided G1 OutOfMemoryError by adding extra expand heap call

Reviewed-by: jwilhelm, tschatzl
2015-09-30 18:09:40 -04:00
Bengt Rutisson
003892f897 8134953: Make the GC ID available in a central place
Reviewed-by: pliden, jmasa
2015-09-30 09:07:21 +02:00
Bengt Rutisson
d516b42238 8133706: Kitchensink hanged
Reviewed-by: pliden, jmasa
2015-09-29 17:44:58 +02:00
David Lindholm
1e71f67736 8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Bengt Rutisson
d3651ac249 8136991: [REDO] Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: kbarrett, tschatzl
2015-09-28 09:28:53 +02:00
Eric Caspole
d3653c4ca3 8131645: [ARM64] crash on Cavium when using G1
Add a fence when creating the CodeRootSetTable so the readers do not see invalid memory.

Reviewed-by: aph, tschatzl
2015-09-21 10:36:36 -04:00
Nils Eliasson
2f9e32256d Merge 2015-11-13 13:31:48 +01:00
Christian Thalinger
6896030b96 8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
Reviewed-by: goetz, stefank
2015-11-11 16:32:17 -10:00
Volker Simonis
26254f4645 8135179: Fix conversion warning after 8067341
Add required casts.

Reviewed-by: tschatzl, goetz
2015-09-21 10:45:41 +02:00
Mikael Gerdin
34a6b43988 8136701: Remove YOUNG_LIST_VERBOSE code from G1CollectedHeap
Reviewed-by: stefank, jwilhelm
2015-09-17 16:07:06 +02:00
Kim Barrett
b78e96713b 8136627: Backout JDK-8133818 Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: brutisso
2015-09-16 16:25:02 +02:00
Erik Helin
57776e7af1 8142399: G1ParCopyClosure does not need do_oop_work
Reviewed-by: stefank, tschatzl
2015-09-11 15:18:43 +02:00
Derek White
d84d65893b 8143252: Clean up G1CollectedHeap interface
Delete unused methods and parameters

Reviewed-by: mgerdin, tschatzl, pliden
2015-11-19 12:43:08 -05:00
Jon Masamitsu
c16b4b7673 6858051: Create GC worker threads dynamically
Reviewed-by: tschatzl, drwhite
2015-08-06 22:07:30 -07:00
Jon Masamitsu
807c69046a 8081629: CMS split_block() does not correctly fix up block-offset-table for large blocks
Reviewed-by: tschatzl, ysr
2015-05-25 19:26:23 -07:00
Erik Helin
c00b15bccd 8135253: Add push method to CollectionSetChooser
Reviewed-by: mgerdin, tschatzl
2015-09-11 13:20:05 +02:00
Erik Helin
89ec770497 8135260: Split G1CollectorPolicy::finalize_cset into two parts
Reviewed-by: tschatzl, mgerdin
2015-09-11 10:02:35 +02:00