666 Commits

Author SHA1 Message Date
Coleen Phillimore
de88e58a82 8154580: Save mirror in interpreter frame to enable cleanups of CLDClosure
GC walks the mirror using OopClosure rather than using CLDClosure in oops_interpreted_do()

Reviewed-by: dlong, twisti, stefank
2016-04-25 09:51:00 -04:00
Thomas Schatzl
78d48b8bee 8154838: G1CardLiveData::free_large_bitmap() uses wrong calculation to determine the number of words
Use the exact same calculation as G1CardLiveData::allocate_large_bitmap() in free_large_bitmap().

Reviewed-by: stefank, jmasa
2016-04-22 10:19:22 +02:00
Bharadwaj Yadavalli
80a156e005 Merge 2016-04-21 15:59:07 -04:00
Erik Helin
63484cce64 8154753: Turn G1Policy into an interface
Reviewed-by: sjohanss, mgerdin
2016-04-20 15:24:18 +02:00
Bharadwaj Yadavalli
d61df5babe Merge 2016-04-19 15:26:59 -04:00
Mikael Gerdin
4adb7c0788 8154752: Cleanup initialization of G1Policy
Reviewed-by: ehelin, tschatzl
2016-04-19 14:53:33 +02:00
Mikael Gerdin
91b2afa99d 8154745: Move default G1 pause time target setup to argument parsing
Reviewed-by: ehelin, sjohanss
2016-04-19 14:53:32 +02:00
Mikael Gerdin
7587fbdd30 8154452: Deferred cleanups after split of G1CollectorPolicy code
Reviewed-by: ehelin, sjohanss
2016-04-21 10:19:00 +02:00
Mikael Gerdin
39b43a87e7 8154467: Cleanup initialization of GCPolicyCounters
Reviewed-by: ehelin, sjohanss
2016-04-21 10:18:50 +02:00
Stefan Karlsson
790431bd5d 8079843: do_young_space_rescan - comment out of sync with code
Reviewed-by: mgerdin, sjohanss, ehelin, tschatzl
2016-04-20 09:58:15 +02:00
Coleen Phillimore
2aff402303 8154280: Zero build fails with undeclared G1LastPLABAverageOccupancy
Reviewed-by: twisti
2016-04-21 02:58:04 -04:00
Thomas Schatzl
4c2f0704f3 8153170: Card Live Data does not correctly handle eager reclaim
The card live data of regions eagerly reclaimed during remark and cleanup pause could be wrong, not considering that these regions were eagerly reclaimed and empty.

Reviewed-by: drwhite, kbarrett
2016-04-18 16:54:04 +02:00
Thomas Schatzl
d55089d82b 8153503: Move remset scan iteration claim to remset local data structure
Reviewed-by: drwhite, mgerdin
2016-04-18 16:51:14 +02:00
Bharadwaj Yadavalli
b2ead5ac2d Merge 2016-04-12 14:17:42 -04:00
Filipp Zhinkin
6b6686bd43 8149374: Replace C1-specific collection classes with universal collection classes
Reviewed-by: kvn, mgerdin, coleenp
2016-04-06 18:51:03 +03:00
Tom Benson
4f0ffb6ce9 8153117: Back out JDK-8142935 until JDK-8152723 fixed
JDK-8142935 fix can lead to avoidable Full GCs

Reviewed-by: jwilhelm, tschatzl
2016-04-05 11:17:50 -04:00
Richard Reingruber
9438549080 8153176: ParOldGC: Use correct TaskQueueSet for ParallelTaskTerminator in marking
Reviewed-by: mgerdin, tschatzl
2016-04-05 13:55:31 +02:00
Thomas Schatzl
fa7ae5825a Merge 2016-04-05 12:10:03 +02:00
Thomas Schatzl
d77d2cc010 8151499: gc/g1/g1OopClosures.inline.hpp: assert(_from->is_in_reserved(p)) failed: p is not in from
Fix wrong assertion.

Reviewed-by: tbenson, shade
2016-04-05 11:22:20 +02:00
Stefan Karlsson
ccf6f713e8 8152711: Create a non-template Log wrapper class
Reviewed-by: kbarrett, rehn
2016-04-05 10:41:52 +02:00
Joseph Provino
5cef85023b 8132524: Missing includes to resourceArea.hpp
Files that use ResourceMark are missing the include of resourceArea.hpp

Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04:00
Stefan Karlsson
65a3b7e6b3 8152635: Create a UL class to represent a Log + Level combination
Reviewed-by: brutisso, mlarsson, rehn
2016-04-04 12:45:04 +02:00
Stefan Karlsson
64efc0eb0f Merge 2016-04-04 11:32:04 +02:00
Stefan Karlsson
15c4140ae5 8152632: Rename LogHandle(...) to Log(...)
Reviewed-by: brutisso, mlarsson, rprotacio
2016-04-04 09:15:15 +02:00
Daniel D. Daugherty
a6c899150e Merge 2016-04-01 14:34:17 -07:00
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