128 Commits

Author SHA1 Message Date
Bengt Rutisson
d1c99d7509 Merge 2016-03-11 12:17:35 +01:00
Bengt Rutisson
c4916d0f05 8151605: Change warning() to log_warning(gc) in the GC code
Reviewed-by: jwilhelm, jmasa
2016-03-11 11:34:22 +01:00
Mikael Gerdin
1158bcdf9a 8151633: Don't keep copies of the survivor lists and counts in the G1CollectorPolicy
Reviewed-by: tbenson, tschatzl
2016-03-11 10:18:11 +01:00
Mikael Gerdin
b7486d2544 8151178: Move the collection set out of the G1 collector policy
Create a G1CollectionSet class

Reviewed-by: jwilhelm, tbenson, tschatzl
2016-03-07 17:23:59 +01:00
Sangheon Kim
5e641bdf7a 8149834: gc/shared/gcTimer.cpp:88 assert(_is_concurrent_phase_active) failed: A concurrent phase is not active
Compare-and-exchange for concurrent gc timer related flag at G1CollectedHeap

Reviewed-by: jmasa, drwhite
2016-03-07 02:11:47 -08:00
Thomas Schatzl
619ec3dd6f 8141141: Young and Old gen PLAB stats are similar in output with -XX:+PrintPLAB
Improve PLAB statistic by adding generation, output values are now in bytes, including units, and split it into multiple messages.

Reviewed-by: brutisso, sjohanss
2016-03-02 15:57:48 +01:00
Thomas Schatzl
a07ffdd31d 8147121: Evacuation failure allocation statistics added too late
Move adding evacuation failure statistics to after free_collection_set.

Reviewed-by: brutisso, drwhite
2016-03-02 15:55:47 +01:00
Joseph Provino
e87c6f1b09 Merge 2016-02-27 00:07:03 +00:00
Joseph Provino
41c0116f6e 8139651: ConcurrentG1Refine uses ints for many of its members that should be unsigned types
Ints need to be changed to size_t

Reviewed-by: kbarrett, tbenson
2016-02-26 14:02:39 -05:00
Thomas Schatzl
a9f10173e7 Merge 2016-02-26 17:55:05 +01:00
Thomas Schatzl
6fe8d6e7de 8150630: Add logging for ParScanThreadState merge phase
Improve visibility of the per-thread scan state merge phase by adding appropriate logging.

Reviewed-by: jmasa, tbenson
2016-02-26 13:02:30 +01:00
Thomas Schatzl
d00c7378d6 8076463: Add logging for the preserve CM referents task
Add logging and do minor refactoring to CM referents handling task.

Reviewed-by: jmasa
2016-02-26 13:02:30 +01:00
Mikael Gerdin
167ce92545 8150390: Move rs length sampling data to the sampling thread
Reviewed-by: drwhite, jwilhelm
2016-02-25 11:20:03 +01:00
Bengt Rutisson
e020d2f477 8150367: Add back information about the number of GC workers
Reviewed-by: sjohanss, tschatzl
2016-02-23 09:52:46 +01:00
Mikael Gerdin
8f88752757 8149013: Remove unused and dead code from G1CollectorPolicy
Reviewed-by: ehelin, jwilhelm
2016-02-04 08:22:26 +01:00
David Lindholm
19bc0f3f2d 8149648: Add number of regions to the G1HeapSummary event
Reviewed-by: sjohanss, jwilhelm
2016-02-11 16:49:12 +01:00
Bengt Rutisson
413f61e977 8149541: Use log_error() instead of log_info() when verification reports a problem
Reviewed-by: jwilhelm, tbenson
2016-02-11 08:55:36 +01:00
Bengt Rutisson
ad3fb1dbbd 8148992: VM can hang on exit if root region scanning is initiated but not executed
Reviewed-by: tschatzl, pliden, jwilhelm
2016-02-10 12:56:55 +01:00
Erik Helin
92143e58fa 8148973: Rename g1/concurrentMark.{hpp,cpp,inline.hpp} to g1/g1ConcurrentMark.{hpp,cpp,inline.hpp}
Reviewed-by: tschatzl, mgerdin
2016-02-05 16:03:56 +01:00
Bengt Rutisson
f4f5e64f5d 8148736: Let the G1 heap transition log regions instead of bytes
Reviewed-by: sjohanss, david
2016-02-02 12:13:05 +01:00
Bengt Rutisson
a5e2b096bc 8148734: G1: Make G1GCPhaseTimes keep track of the start GC time
Reviewed-by: sjohanss, tschatzl
2016-02-02 10:50:08 +01:00
Per Lidén
4bfa63dd34 8147918: Rename develop_log_is_enabled() to log_develop_is_enabled()
Reviewed-by: dholmes, brutisso
2016-02-01 22:11:16 +01:00
Goetz Lindenmaier
6397e809aa 8146395: Add inline qualifier in oop.hpp and fix inlining in gc files
Fix remaining issues after 8146401. Also fix windows VS2010 linkage problem (g1OopClosures.hpp).

Reviewed-by: stefank, mgerdin
2016-01-18 10:25:41 +01:00
David Lindholm
ac117697a3 8147814: Move verification code out of g1collectedheap
Reviewed-by: jwilhelm, tschatzl
2016-01-26 15:28:31 +01:00
Axel Siebenborn
84ae91a490 8147611: G1 - Missing memory barrier in start_cset_region_for_worker
Reviewed-by: mgerdin, tschatzl
2016-01-19 09:39:28 +01:00
Poonam Bajaj
1980bc42dd 8145442: Add the facility to verify remembered sets for G1
Implement remembered sets verification for G1 with option VerifyRememberedSets

Reviewed-by: jmasa, mgerdin
2016-01-15 10:34:52 -08:00
David Lindholm
ad0c208a5a 8146690: Make all classes in GC follow the naming convention
Reviewed-by: dholmes, stefank
2016-01-14 13:26:19 +01:00
Alexander Harlap
22ad9cec84 8145037: Clean up FreeIdSet usage
Avoid wasting space for the unused sets

Reviewed-by: tschatzl
2016-01-08 15:41:44 -05:00
David Lindholm
98193d202b 8146399: Refactor the BlockOffsetTable classes
Reviewed-by: mgerdin, jwilhelm, tschatzl
2016-01-07 16:25:53 +01:00
Thomas Schatzl
d6e95be627 8145774: Move scrubbing setup code away out of ConcurrentMark
Remove dependency of ConcurrentMark to G1RemSet.

Reviewed-by: jmasa, mgerdin
2015-12-22 11:03:37 +01:00
Thomas Schatzl
056fb6bfd3 8145672: Remove dependency of G1FromCardCache to HeapRegionRemSet
Move HeapRegionRemSet::num_par_rem_sets() to G1RemSet, and document it.

Reviewed-by: mgerdin, jmasa
2015-12-22 11:02:04 +01:00
Sangheon Kim
93bd48e615 8068394: Trace event for concurrent GC phases
Add concurrent phase events for CMS and G1

Reviewed-by: brutisso, stefank
2015-12-18 08:17:30 -08:00
Bengt Rutisson
9ecd60a8dc 8145303: Clean up the units for log_gc_footer
Reviewed-by: david, tschatzl, goetz
2015-12-15 09:58:29 +01:00
David Lindholm
ddab9e4387 8145301: Improve and unify the printout format for the g1HRPrinter
Reviewed-by: brutisso, tschatzl
2015-12-14 13:47:35 +01:00
David Lindholm
a1a959760b 8144996: Replace the HeapRegionSetCount class with an uint
Reviewed-by: brutisso, jwilhelm
2015-12-11 13:48:52 +01:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
David Lindholm
87a31aaa33 8144837: Improve the printout of heap regions in hs_err dump files
Reviewed-by: stefank, sjohanss
2015-12-09 14:49:26 +01:00
Markus Grönlund
2ad9d3192f 8140485: Class load and creation cleanup
Reviewed-by: hseigel, coleenp, sspitsyn
2015-12-08 20:04:03 +01:00
Mikael Vidstedt
95c869947a 8144605: Invalid format specifier when printing in_cset_state_t
Use existing CSETSTATE_FORMAT macro in format string

Reviewed-by: kbarrett, tschatzl
2015-12-04 09:36:16 -08:00
Stefan Johansson
4b50caadef 8143251: HeapRetentionTest.java Test is failing on jdk9/dev
Reviewed-by: tschatzl, david
2015-11-26 13:13:03 +01:00
Erik Helin
3a37b5d81c 8142402: G1 should not redirty cards in free regions
Reviewed-by: mgerdin, tschatzl
2015-04-29 13:17:46 +02:00
Erik Helin
97daae0658 8144076: Move evac failure handling and reference processing to post_evacuate_collection_set
Reviewed-by: mgerdin, tschatzl
2015-11-26 13:45:59 +01:00
Erik Helin
1355d0ef4e 8144075: Move prepare_for_oops_into_collection_set_do into pre_evacuate_collection_set
Reviewed-by: mgerdin, tschatzl
2015-11-26 13:43:10 +01:00
Erik Helin
704a098a0e 8142404: Parallelize the restoring of preserved marks
Reviewed-by: mgerdin, tschatzl
2015-11-26 09:50:22 +01:00
Erik Helin
7bb30f51ab 8139892: Allow G1CollectorPolicy to specify if reference processing should be enabled
Reviewed-by: mgerdin, kbarrett, tbenson
2015-10-19 16:33:12 +02:00
Thomas Schatzl
00eb98fb06 Merge 2015-11-25 19:27:38 +00:00
Erik Helin
2623434709 Merge 2015-11-25 17:32:44 +00:00
Thomas Schatzl
986ada18e1 Merge 2015-11-25 13:52:26 +00:00
Erik Helin
402195fa55 8142495: Move G1ParEvacuateFollowersClosure to header file
Reviewed-by: sjohanss, brutisso
2015-11-24 15:46:45 +01:00
David Lindholm
f6343b0f69 8143587: G1 crashes with humongous object of size that almost fills a heap region
Reviewed-by: mgerdin, brutisso
2015-11-24 14:03:42 +01:00