Thomas Schatzl
52a4823950
8068018: Clean up friends of G1CollectedHeap
...
Remove unnecessary friend class declaration in the G1CollectedHeap class.
Reviewed-by: jwilhelm, jmasa
2014-12-23 15:48:32 +01:00
Kim Barrett
57198d2b63
8067499: G1SATBCardTableModRefBS should not inherit from CardTableModRefBSForCTRS
...
G1SATBCardTableModRefBS inherits from CardTableModRefBS
Reviewed-by: mgerdin, brutisso, tschatzl
2014-12-18 13:26:37 -05:00
Jesper Wilhelmsson
12797a11c0
Merge
2014-12-22 17:40:46 +00:00
Thomas Schatzl
d530b1da99
8068036: assert(is_available(index)) failed in G1 cset
...
Some verification code iterated over the heap using the region mapping array. This is not allowed. Changed to use the regular iteration method with closure.
Reviewed-by: jwilhelm, brutisso
2014-12-22 16:49:24 +01:00
Thomas Schatzl
1be86b3412
8060025: Object copy time regressions after JDK-8031323 and JDK-8057536
...
Evaluate and improve object copy time by micro-optimizations and splitting out slow and fast paths aggressively.
Co-authored-by: Tony Printezis <tprintezis@twitter.com>
Reviewed-by: kbarrett, mgerdin, jmasa
2014-12-19 09:21:06 +01:00
Jesper Wilhelmsson
dfc952b138
Merge
2014-12-18 16:15:49 +01:00
Kim Barrett
093d2698fc
8066827: Remove ReferenceProcessor::clean_up_discovered_references()
...
Abandon rather than clean up discovered references.
Reviewed-by: jmasa, ysr
2014-12-17 22:32:44 -05:00
Thomas Schatzl
c079059456
Merge
2014-12-18 11:23:18 +00:00
Thomas Schatzl
f2e110fe77
8067469: G1 ignores AlwaysPreTouch
...
Factor out pretouch code of the various virtual space management classes and use them everywhere including in G1.
Reviewed-by: stefank, ehelin, dholmes
2014-12-18 09:37:02 +01:00
Yumin Qi
e4961abb71
Merge
2014-12-12 20:49:14 -08:00
Max Ockner
1d76295d70
8047290: Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
...
Ensure consistent safepoint checking in Mutex/Monitor locking methods.
Reviewed-by: dholmes, dcubed, coleenp
2014-12-11 21:34:43 -05:00
Thomas Schatzl
5d868d4e0f
8066102: Clean up HeapRegionRemSet files
...
Remove dead code, tighten public interfaces and improve documentation in the HeapRegionRemSet implementation.
Reviewed-by: mgerdin, kbarrett
2014-12-09 12:47:19 +01:00
Mikael Gerdin
cc786b287d
8067655: Clean up G1 remembered set oop iteration
...
Pass on the static type G1ParPushHeapRSClosure to allow oop_iterate devirtualization
Reviewed-by: jmasa, kbarrett
2014-12-08 18:57:33 +01:00
Jesper Wilhelmsson
9b430f2262
Merge
2014-12-04 10:40:19 +01:00
Yumin Qi
9767fa7cb2
Merge
2014-12-03 20:32:33 -08:00
Max Ockner
91dbd4f088
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
...
Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Leonid Mesnik
c8a147b8c7
8065579: WB method to start G1 concurrent mark cycle should be introduced
...
Add a WhiteBox callback to the VM to start a concurrent mark cycle in G1.
Reviewed-by: tschatzl, sjohanss
2014-11-28 09:33:48 +01:00
Stefan Johansson
02adde2aac
8065227: Report allocation context stats at end of cleanup
...
Moved allocation context update from remark to the cleanup phase.
Reviewed-by: mgerdin, jmasa
2014-11-27 11:09:55 +01:00
Jesper Wilhelmsson
11267d8d06
Merge
2014-11-26 17:24:57 +00:00
Mikael Gerdin
b5ef32af36
8065358: Refactor G1s usage of save_marks and reduce related races
...
Stop using save_marks in G1 related code and make setting the replacement field less racy.
Reviewed-by: brutisso, tschatzl
2014-11-26 10:53:31 +01:00
Jesper Wilhelmsson
1da0a96993
8065305: Make it possible to extend the G1CollectorPolicy
...
Added a G1CollectorPolicyExt where it is possible to extend the class.
Reviewed-by: sjohanss, tschatzl
2014-11-25 13:41:08 +01:00
Kim Barrett
f9d8e2ae9d
8062206: Remove unusable G1RSLogCheckCardTable command line argument
...
Remove dependent assertion and remove develop option
Reviewed-by: jwilhelm, mgerdin, tschatzl
2014-10-27 17:24:10 -04:00
Jesper Wilhelmsson
7339456266
8062836: BACKOUT - Parallelize clearing the next mark bitmap
...
Backing out due to non-trivial issues found in nightly testing
Reviewed-by: mgerdin, mlarsson
2014-11-05 15:50:14 +01:00
Bengt Rutisson
c1bc4be92b
8061449: G1: FreeRegionList_test() fails with G1 after the JDK-8058534 fix to HeapRegion::orig_end()
...
Reviewed-by: mgerdin, tschatzl, stefank
2014-11-05 10:12:51 +01:00
Marcus Larsson
4a9f067587
8049341: Parallelize clearing the next mark bitmap
...
Reviewed-by: mgerdin, tschatzl
2014-11-03 12:49:21 +01:00
Marcus Larsson
fe45f7091b
8054491: Remove wrong assert and refactor code in G1CollectorPolicy::record_concurrent_mark_end
...
Reviewed-by: tschatzl, brutisso
2014-11-03 11:29:00 +01:00
Marcus Larsson
5fd7516136
8043243: convert SCAN_AND_FORWARD, SCAN_AND_ADJUST_POINTERS, SCAN_AND_COMPACT macros to methods
...
Reviewed-by: mgerdin, kbarrett
2014-10-30 12:45:22 +01:00
Stefan Johansson
6306dce831
8061234: ResourceContext.requestAccurateUpdate() is unreliable
...
Changing copy_allocation_context_stats to return if there are more stats available after the copy.
Reviewed-by: rriggs, jcoomes
2014-10-30 10:51:06 +01:00
Kim Barrett
8f8d87ece5
8061748: Remove check_ct_logs_at_safepoint()
...
Remove unused function and related closure class
Reviewed-by: jwilhelm, mgerdin
2014-10-23 16:19:32 -04:00
Erik Helin
3a3e45ab40
8061630: G1 iterates over JNIHandles two times
...
Reviewed-by: mgerdin, brutisso
2014-10-23 11:43:29 +02:00
Erik Helin
f3997d8eed
8064721: The card tables only ever need two covering regions
...
Reviewed-by: jmasa, tschatzl, kbarrett
2014-11-18 10:36:42 +01:00
Staffan Friberg
04bdb774e1
8064473: Improved handling of age during object copy in G1
...
Reviewed-by: brutisso, tschatzl
2014-11-14 15:03:39 +01:00
Mikael Gerdin
4feb7b4dab
8058209: Race in G1 card scanning could allow scanning of memory covered by PLABs
...
Read _top before _gc_time_stamp in saved_mark_word() with LoadLoad order to ensure we get a consistent view
Reviewed-by: brutisso, dcubed, dholmes, stefank
2014-11-14 14:23:25 +01:00
Kim Barrett
294a63af5f
8062036: ConcurrentMarkThread::slt may be invoked before ConcurrentMarkThread::makeSurrogateLockerThread causing intermittent crashes
...
Suppress gc_alot during VM init, improve error for SLT uninitialized.
Reviewed-by: jmasa, brutisso, tschatzl
2014-11-11 13:39:00 -05:00
Marcus Larsson
46e9fb5176
6979279: remove special-case code for ParallelGCThreads==0
...
Reviewed-by: jwilhelm, brutisso, kbarrett
2014-10-21 11:57:22 +02:00
Stefan Johansson
bd227a9bac
8058568: GC cleanup phase can cause G1 skipping a System.gc()
...
Marking G1 FullGC as a _full collection and passing down the correct before count.
Reviewed-by: brutisso, mgerdin
2014-10-20 10:18:17 +02:00
Stefan Karlsson
d410f19961
8056240: Investigate increased GC remark time after class unloading changes in CRM Fuse
...
Reviewed-by: mgerdin, coleenp, bdelsart
2014-10-02 10:55:36 +02:00
Sangheon Kim
8d288ccc54
8027428: Different conditions for printing taskqueue statistics for parallel gc, parNew and G1
...
Changed flag names for printing taskqueue and termination statistics for parallel gc, parNew and G1.
Reviewed-by: jwilhelm, brutisso, tschatzl
2014-10-14 20:58:43 +02:00
Sangheon Kim
3f18eda414
8058801: G1TraceReclaimDeadHumongousObjectsAtYoungGC only prints humongous object liveness output when there is at least one candidate humongous object
...
If G1TraceReclaimDeadHumongousObjectsAtYoungGC is enabled, always print humongous object liveness output.
Reviewed-by: tschatzl
2014-10-10 12:15:51 +02:00
Thomas Schatzl
60f3ade82b
8059758: Footprint regressions with JDK-8038423
...
Changes in JDK-8038423 always initialize (zero out) virtual memory used for auxiliary data structures. This causes a footprint regression for G1 in startup benchmarks. This is because they do not touch that memory at all, so the operating system does not actually commit these pages. The fix is to, if the initialization value of the data structures matches the default value of just committed memory (=0), do not do anything.
Reviewed-by: jwilhelm, brutisso
2014-10-09 11:40:11 +02:00
Marcus Larsson
6d1c35615a
8058298: Separate heap region iterator claim values from the data structures iterated over
...
Reviewed-by: tschatzl, brutisso
2014-10-07 14:54:53 +02:00
Stefan Johansson
18eb46eb95
8059466: Force young GC to initiate marking cycle when stat update is requested
...
Enable yc to be forced for stat update.
Reviewed-by: mgerdin, jcoomes
2014-10-06 10:11:13 +02:00
Bengt Rutisson
82931dcc1c
8059452: G1: Change the default values for G1HeapWastePercent and G1MixedGCLiveThresholdPercent
...
Reviewed-by: tschatzl, jwilhelm
2014-09-30 13:14:22 +02:00
Jesper Wilhelmsson
261735f6fa
8047976: Ergonomics for GC thread counts should update the flags
...
Ergonomics updates flags for number of GC threads
Reviewed-by: tschatzl, jwilhelm
2014-09-27 15:11:41 +02:00
Jesper Wilhelmsson
f9b921bd25
Merge
2014-09-22 16:22:21 +02:00
Sangheon Kim
30cb2dcb12
8036116: Fix thread-id types in G1 remembered set implementations
...
Reviewed-by: stefank, jprovino, brutisso
2014-09-24 11:00:12 +02:00
Stefan Karlsson
1a452ae3ae
Merge
2014-09-23 12:52:57 +00:00
Joseph Provino
b0b5fa7bc6
8027450: Improve time reporting in G1 remark
...
Reviewed-by: stefank, tschatzl
2014-09-23 12:34:37 +02:00
Antonios Printezis
da5afa76ab
8058495: G1: normalize names for isHumongous() and friends
...
Reviewed-by: tschatzl, brutisso
2014-09-23 11:43:24 +02:00
Niclas Adlertz
37c8ef911c
Merge
2014-09-19 17:14:13 +02:00