641 Commits

Author SHA1 Message Date
Daniel D. Daugherty
8076bee28c 8153302: [BACKOUT] STW phases at Concurrent GC should count in PerfCounter
Reviewed-by: jmasa, jwilhelm
2016-04-01 14:30:10 -07:00
Jon Masamitsu
d650ab04e2 8150994: UseParallelGC fails with UseDynamicNumberOfGCThreads with specjbb2005
Reviewed-by: tschatzl, kbarrett
2016-04-01 12:32:34 -07:00
Sangheon Kim
a868617af7 8152176: Big ParGCCardsPerStrideChunk values can cause overflow for CMS GC
Limit the max value of ParGCCardsPerStrideChunk based on card table size and other stride flags

Reviewed-by: jmasa, tbenson
2016-04-01 09:43:13 -07:00
Thomas Schatzl
7fb0e65901 8153193: Missing includes in gc/g1/heapRegionBounds.hpp
Reviewed-by: jwilhelm, brutisso
2016-04-01 12:00:09 +02:00
Thomas Schatzl
f8070cc44a 8148099: Improve memory access to FromCardCache during GC
Transpose the FromCardCache data array so the access during GC is linear instead of element-by-element with stride.

Reviewed-by: mgerdin, brutisso
2016-04-01 11:57:58 +02:00
Bengt Rutisson
0d7e6c5add 8153203: Remove liveRange.hpp
Reviewed-by: mgerdin, jwilhelm
2016-04-01 10:16:31 +02:00
Bengt Rutisson
0c5e3bcbd6 8153188: Use log_error(gc, verify) for logging in verification code
Reviewed-by: mgerdin, tschatzl
2016-04-01 07:08:55 +02:00
Bengt Rutisson
eeec4b781b 8153187: Convert TraceWorkGang to use unified logging
Reviewed-by: mgerdin, tschatzl
2016-04-01 07:08:40 +02:00
Bengt Rutisson
8098362a32 8153186: Convert TraceGCTaskThread to use unified logging
Reviewed-by: mgerdin, tschatzl
2016-04-01 07:08:30 +02:00
Jon Masamitsu
e036e40e87 Merge 2016-03-31 22:04:19 +00:00
Bengt Rutisson
69ae3e0c64 8152952: Allow G1 phase logging to use individual number of threads
Reviewed-by: tschatzl, jmasa
2016-03-31 17:05:29 +02:00
Thomas Schatzl
5031466171 8153065: "Preserve CM refs" log message disconnected from "Parallel Preserve CM refs"
Bring the log messages into the correct order again.

Reviewed-by: mgerdin
2016-03-31 12:00:08 +02:00
Yasumasa Suenaga
7e964d8697 8151674: STW phases at Concurrent GC should count in PerfCounter
Reviewed-by: jmasa, sla, tschatzl
2016-03-30 21:05:13 +09:00
Marcus Larsson
f4a1f4ef6b 8151438: UL instantiates duplicate tag sets
Reviewed-by: brutisso, stefank
2016-03-29 09:36:43 +02:00
Kim Barrett
cb72aacabb 8151670: Unexpected concurrent refinement deactivation and reactivation
Refinement threads now use SuspendibleThreadSet::yield.

Reviewed-by: jmasa, mgerdin
2016-03-25 15:50:31 -04:00
Sangheon Kim
d676c6233e 8152160: SIGFPE in CompactibleFreeListSpaceLAB::compute_desired_plab_size
Rephrase the calculation with CMSOldPLABNumRefills to avoid an overflow

Reviewed-by: pliden, jmasa
2016-03-24 23:07:06 -07:00
Jon Masamitsu
d7e8dc2fef Merge 2016-03-25 03:53:18 +00:00
Kim Barrett
5f25c82c48 8152196: SuspendibleThreadSet::yield scales poorly
Use semaphore to wake up VM thread on last suspendible leave/yield.

Reviewed-by: mgerdin, drwhite
2016-03-22 20:32:48 -04:00
Thomas Schatzl
49d6460189 8152400: Enabling TASK_STATS_ONLY filters out just enabled messages anyway
If TASK_STATS_ONLY is enabled, do not require a develop build to print messages.

Reviewed-by: pliden, tbenson
2016-03-24 10:40:23 +01:00
Bengt Rutisson
d444e55969 8152300: Convert G1_ALLOC_REGION_TRACING to unified logging
Reviewed-by: sjohanss, stefank
2016-03-22 13:41:52 +01:00
Tom Benson
dc360cad53 8142935: Adding old gen regions does not consider available free space
Track live data size as added to cset during mixed GCs

Reviewed-by: kbarrett, drwhite
2016-03-21 15:59:58 -04:00
Sangheon Kim
fd827daa57 Merge 2016-03-22 01:52:23 +01:00
Chris Plummer
6e4fd7f938 Merge 2016-03-21 20:19:46 +00:00
Chris Plummer
4cc14cb17e 8146436: Add -XX:-ShrinkHeapInSteps option (previously -XX:+UseAggressiveHeapShrink)
Added ShrinkHeapInSteps option.

Reviewed-by: jmasa, tbenson
2016-03-21 13:14:31 -07:00
Sangheon Kim
b5a940227e 8152120: TLAB compute_size() should not allow any size larger than max_size
Limit TLAB compute_size() to be less than or equal to TLAB max

Reviewed-by: sjohanss, jmasa
2016-03-21 13:04:10 -07:00
Marcus Larsson
85ba16be9d Merge 2016-03-21 11:42:47 +01:00
Bengt Rutisson
a1901aecc9 Merge 2016-03-21 10:44:30 +01:00
Mikael Gerdin
43c73dc321 8154154: Separate G1 specific policy code from the CollectorPolicy class hierarchy
Move G1 runtime policy code to new class G1Policy which is unrelated to CollectorPolicy

Reviewed-by: kbarrett, ehelin
2016-03-18 15:20:43 +01:00
Kim Barrett
3079c942b6 8133051: Concurrent refinement threads may be activated and deactivated at random
Establish min threshold step; earlier primary refinement thread activation.

Reviewed-by: tschatzl, drwhite, mgerdin, jmasa
2016-04-18 14:52:31 -04:00
Bengt Rutisson
dc9715ebf1 Merge 2016-04-14 13:31:11 +02:00
Bengt Rutisson
3bb96580fb 8073321: assert(q > prev_q) failed: we should be moving forward through memory
Reviewed-by: jmasa, mgerdin
2016-04-14 11:17:34 +02:00
Stefan Johansson
e79c2a2d8b 8153745: Avoid spawning G1ParPreserveCMReferentsTask when there is no work to be done
Reviewed-by: brutisso, jmasa, tschatzl
2016-04-14 08:30:37 +02:00
Stefan Johansson
a9e64aa572 8154051: Change G1YoungGenSizer to use UL log_warning instead of warning
Reviewed-by: brutisso, mgerdin
2016-04-14 08:30:15 +02:00
Derek White
1326ae31c8 8152905: hs_err file is missing gc threads
List the GC threads in the hs_err file in the "Other Threads" section

Reviewed-by: dcubed, coleenp
2016-04-13 17:00:54 -04:00
Mikael Gerdin
19cd9b20e8 8153843: G1CardLiveDataHelper incorrectly sets next_live_bytes on dead humongous regions
Reviewed-by: drwhite, tschatzl
2016-04-11 09:49:10 +02:00
Mikael Gerdin
89282b0c72 8153834: G1 Card table verification fails due to concurrent region cleanup
Reviewed-by: ehelin, tschatzl
2016-04-12 14:03:31 +02:00
Stefan Karlsson
f78228b2ee 8153967: Remove top.hpp
Reviewed-by: coleenp, jwilhelm
2016-04-12 09:53:43 +02:00
Stefan Karlsson
cf254af2fb 8152491: Convert TracePageSizes to use UL
Reviewed-by: sjohanss, pliden
2016-04-12 07:17:44 +02:00
Stefan Karlsson
388236cc3d 8152962: CMSCollector::shouldConcurrentCollect incorrectly logs against the debug stream
Reviewed-by: brutisso, sjohanss
2016-04-11 08:51:53 +02:00
Stefan Karlsson
2ca745d47a 8152639: ResourceMark missing in reportFreeListStatistics
Reviewed-by: pliden, sjohanss
2016-04-11 08:51:53 +02:00
Sangheon Kim
25f35cda7d 8152182: Possible overflow in initialzation of _rescan_task_size and _marking_task_size
Add constraints for CMSRescanMultiple and CMSConcMarkMultiple flags

Reviewed-by: jwilhelm, jmasa
2016-04-07 15:34:21 -07:00
Sangheon Kim
10c7cac93e 8152180: SIGFPE in CMSCollector::preclean with big CMSScheduleRemarkSamplingRatio
Rephrased the calculation routine to avoid an overflow for CMSScheduleRemarkSamplingRatio

Reviewed-by: jwilhelm, drwhite
2016-04-07 15:33:25 -07:00
Antonios Printezis
f22c068365 8152312: ParNew: Restore preserved marks in parallel
Reviewed-by: tschatzl
2016-04-07 10:55:54 +02:00
Thomas Schatzl
a009aa9ca7 8151386: Extract card live data out of G1ConcurrentMark
Move card live data management out of G1ConcurrentMark into extra class G1CardLiveData managed by G1RemSet

Reviewed-by: mgerdin, kbarrett
2016-04-06 13:41:59 +02:00
Thomas Schatzl
0c06163b35 8077144: Concurrent mark initialization takes too long
Remove per-marking thread liveness bitmaps and recreate liveness bitmap concurrently after the cleanup pause.

Reviewed-by: mgerdin, ehelin, kbarrett
2016-04-06 13:32:48 +02:00
Bengt Rutisson
85c97dc404 8148759: G1AllocRegion::_count inconsistently used if more than one context is active
Reviewed-by: sjohanss, jwilhelm, tschatzl
2016-03-18 10:51:29 +01:00
Per Lidén
1402ff0f5d 8152185: ReferencePendingListLocker incorrectly assumes that the lock is never taken recursively
Reviewed-by: stefank, sjohanss
2016-03-18 15:54:04 +01:00
Stefan Johansson
77de5508e9 8152113: Remove _last_ditch_collection GC-cause and avoid expanding heap on Metaspace OOM
Reviewed-by: brutisso, jwilhelm
2016-03-18 13:18:58 +01:00
Stefan Karlsson
0fed01a8ec Merge 2016-03-18 11:42:32 +01:00
Stefan Karlsson
97d34dd67a 8152104: G1 StringTable cleaning incorrectly logs with the stringdedup tag
Reviewed-by: mgerdin, jwilhelm, sjohanss
2016-03-18 09:01:51 +01:00