638 Commits

Author SHA1 Message Date
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
Dmitry Dmitriev
34effca3ac 8149973: Optimize object alignment check in debug builds
Reviewed-by: coleenp, tschatzl
2016-03-07 10:36:50 +03:00
Richard Reingruber
3fcf821982 8151101: Improve UseParallelGC parallelization of object array processing
Reviewed-by: tschatzl, shade
2016-03-03 11:36:25 -08:00
Thomas Schatzl
595f1f01e4 8142484: Let IHOP follow the current capacity, not the maximum capacity
Instead of following the current heap capacity, let all IHOP calculations follow the maximum capacity.

Reviewed-by: brutisso, jmasa
2016-03-07 10:56:06 +01:00
Joseph Provino
750d6c1bb6 Merge 2016-03-03 17:33:13 +00:00
Joseph Provino
7c23a31489 8150984: Invalid VM argument causes crash -XX:G1ConcRefinementServiceIntervalMillis=2147483648
Change maximum range so it can't be negative

Reviewed-by: kbarrett, sangheki
2016-03-03 12:20:22 -05:00
Derek White
dbaa70361f 8140600: Convert unnecessarily malloc'd Monitors to value members
Change a malloc'd monitor into an embedded monitor.

Reviewed-by: tschatzl, kbarrett
2016-02-29 11:32:12 -05:00
Jesper Wilhelmsson
6068abeb00 6787054: Par compact - remove code that clears source_region
Reviewed-by: mgerdin, tschatzl
2016-02-29 15:47:41 +01:00
Bengt Rutisson
190c092900 8150068: Log the main G1 phases at info level
Reviewed-by: sjohanss, tschatzl
2016-02-29 13:06:03 +01:00
Kim Barrett
234373ff31 8150421: Delete experimental G1UseConcMarkReferenceProcessing
Removed the option and supporting code.

Reviewed-by: jmasa, tamao
2016-02-28 12:22:05 -05: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
d090b74744 8150629: Initializing all ParScanThreadStates causes significant unaccounted "Other" times
Lazily allocate ParScanThreadStates within the worker threads instead of doing this work upfront serially.

Reviewed-by: mgerdin, jmasa
2016-02-26 13:02:30 +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
Thomas Schatzl
917dc3b87c 8140777: Make Adaptive IHOP logging information the same as JFR logging
Reviewed-by: tbenson, 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
Shafi Ahmad
a9a432a1a1 8150002: Check for the validity of oop before printing it in verify_remembered_set
Adding missing check for valid oop.

Reviewed-by: dcubed
2016-02-25 11:27:13 +05:30
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
Bengt Rutisson
75b02a64c6 8058944: Unify the reporting strings for the GC debug level logging in G1
Reviewed-by: sjohanss, tschatzl
2016-03-02 08:41:02 +01:00
Markus Grönlund
0e44e963d2 8143226: Minor updates to Event Based tracing
Reviewed-by: jbachorik, egahlin
2016-03-01 23:46:09 +01:00
Derek White
8961912c74 8134992: vm/gc/compact/Compact_InternedStrings_Strings failed due to a malloc() failure
Reviewed-by: mgerdin, brutisso
2016-02-24 09:25:39 +01:00
Kim Barrett
5d5113046a 8150419: Cleanup BufferNode API
Fewer public functions, cleanup allocation.

Reviewed-by: tschatzl, drwhite
2016-02-24 13:18:54 -05:00
Thomas Schatzl
02c98c814f Merge 2016-02-23 14:14:29 +01:00
Antonios Printezis
861dc13645 8146989: Introduce per-worker preserved mark stacks in ParNew
Unify and provide per-worker preserved mark stack handling in ParNew

Reviewed-by: tschatzl, ysr
2016-02-23 10:44:05 +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
Jesper Wilhelmsson
8c7980f33a Merge 2016-02-22 19:25:32 +00:00
Jesper Wilhelmsson
e76fbbafb5 Merge 2016-02-22 19:46:37 +01:00
Jon Masamitsu
0c28c2ee37 8150302: Reference processing logging prints the "from list" incorrectly
Reviewed-by: tamao, brutisso
2016-02-22 09:41:56 -08:00
Kim Barrett
390295caf1 8150134: Simplify concurrent refinement thread deactivation
Remove explicit deactivation and use green stop_at value.

Reviewed-by: jmasa, tschatzl
2016-02-19 15:14:59 -05:00
Jesper Wilhelmsson
6f4adc7c72 Merge 2016-02-18 18:10:35 +01:00
Vladimir Ivanov
596b56f6c7 8149141: Optimized build is broken
Reviewed-by: kvn, kbarrett
2016-02-15 20:02:51 +03:00
Erik Helin
65bfc48af1 8149820: Move G1YoungGenSizer to g1CollectorPolicy.cpp
Reviewed-by: jwilhelm, tbenson
2016-02-15 15:55:58 +01:00
Bengt Rutisson
84a8b3bfc2 8149826: Concurrent misspelled in the CMS logging
Reviewed-by: david
2016-02-15 16:22:32 +01:00
David Lindholm
8d8189b9e5 8149650: Create a trace event for G1 heap region type transitions
Reviewed-by: jwilhelm, sjohanss
2016-02-12 09:19:10 +01:00
David Lindholm
7323d69771 8009538: [Event Request] Want events for tenuring distribution
Reviewed-by: jwilhelm, sjohanss
2016-02-12 09:12:12 +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
4096556cc6 8149542: Missing failure reporting in HeapRegion::verify
Reviewed-by: tschatzl, jprovino
2016-02-11 08:57:00 +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
3fc0fa269a Merge 2016-02-10 14:30:25 +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
Thomas Schatzl
0bf8e8d264 8136854: G1 ConcurrentG1RefineThread::stop delays JVM shutdown for >150ms
Decrease the default wait delay for mark thread initialization to accomodate very short running applications.

Reviewed-by: tbenson, mgerdin
2016-02-10 12:08:37 +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
Kim Barrett
7c684d5249 8149793: DirtyCardQueueSet::apply_closure_to_completed_buffer_helper isn't helpful
Merge helper into sole caller.

Reviewed-by: brutisso, jwilhelm, tschatzl
2016-02-17 16:00:27 -05: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
1322b0fe56 8149035: Make the full_gc_dump() calls be recorded as part of the GC
Reviewed-by: jmasa, sjohanss
2016-02-05 08:59:36 +01:00
Bengt Rutisson
68f99a673a Merge 2016-02-04 11:38:11 +01:00
Bengt Rutisson
433bc5e2bc 8148951: Remove unused method Generation::performs_in_place_marking()
Reviewed-by: david, jwilhelm
2016-02-03 18:21:43 +01:00