523 Commits

Author SHA1 Message Date
Erik Helin
bbe16a058e Merge 2016-04-25 17:24:33 +02:00
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
Erik Helin
63484cce64 8154753: Turn G1Policy into an interface
Reviewed-by: sjohanss, mgerdin
2016-04-20 15:24:18 +02: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
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
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
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
cf254af2fb 8152491: Convert TracePageSizes to use UL
Reviewed-by: sjohanss, pliden
2016-04-12 07:17:44 +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
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
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
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
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
8076bee28c 8153302: [BACKOUT] STW phases at Concurrent GC should count in PerfCounter
Reviewed-by: jmasa, jwilhelm
2016-04-01 14:30:10 -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
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
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
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
Jon Masamitsu
09a7ae4e60 8149343: assert(rp->num_q() == no_of_gc_workers) failed: sanity
Reviewed-by: tschatzl, kbarrett
2016-03-07 11:28:06 -08:00
Bengt Rutisson
a1901aecc9 Merge 2016-03-21 10:44:30 +01: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
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
Stefan Karlsson
a15383123d 8152100: Rework and unify the GC phase logging
Reviewed-by: sjohanss, jwilhelm
2016-03-18 08:59:07 +01:00
Stefan Karlsson
566df4a912 Merge 2016-03-18 03:46:02 +01:00
Stefan Karlsson
35058d4038 8027423: Parallel compact GC class unloading measurement includes symbol and string table time
Reviewed-by: mgerdin, jmasa
2016-03-17 21:01:59 +01:00
Sangheon Kim
9f63ca85a7 8151085: Change G1 concurrent timer and tracer measuring time
Change measuring time for G1 concurrent phases and reporting heap summary

Reviewed-by: brutisso, sjohanss
2016-03-17 11:18:52 -07:00
Mikael Gerdin
1e047e54c0 8152101: Move G1 concurrent refinement adjustment code out of G1CollectorPolicy
Reviewed-by: jmasa, jwilhelm, kbarrett
2016-03-11 11:22:56 +01:00
Mikael Gerdin
cd911039ce 8151808: Factor G1 heap sizing code out of the G1CollectorPolicy
Reviewed-by: tbenson, jwilhelm
2016-03-11 11:22:56 +01:00