Zoltan Majo
379e3d6fb6
Merge
2015-03-19 18:01:39 +01:00
Coleen Phillimore
57f3125882
Merge
2015-03-13 18:59:41 +00:00
Coleen Phillimore
7b384c6958
8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
...
Only do full metadata walk during class redefinition and only walk handles during class unloading.
Reviewed-by: sspitsyn, stefank
2015-03-13 12:40:39 -04:00
Sangheon Kim
1a4c355bbc
8073654: Marking statistics should use size_t
...
Change data type from int to size_t to avoid overflows
Reviewed-by: jwilhelm, drwhite, tschatzl
2015-03-09 09:30:16 -07:00
Thomas Schatzl
2d22f2780c
8073466: Remove buffer retaining functionality and clean up in ParGCAllocBuffer
...
Reviewed-by: jmasa, kbarrett
2015-03-03 12:38:42 +01:00
Kim Barrett
40d3986051
8069016: Add BarrierSet downcast support
...
Add FakeRttiSupport utility and use to provide barrier_set_cast.
Reviewed-by: jmasa, sangheki
2015-02-27 19:52:48 -05:00
Goetz Lindenmaier
a7edf52a02
8073315: Enable gcc -Wtype-limits and fix upcoming issues
...
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.
Reviewed-by: jwilhelm, kbarrett, simonis
2015-02-16 14:07:36 +01:00
Erik Helin
be4035c60a
8030646: track collection set membership in one place
...
Reviewed-by: tschatzl, jwilhelm
2015-01-26 10:32:35 +01:00
Staffan Friberg
67fddc10a6
8031538: G1 eden usage is sometimes higher than target eden (printed Eden size)
...
When recalculating the number of target eden size, correctly consider the amount of existing eden regions in the target calculation.
Reviewed-by: tschatzl
2015-03-06 09:07:33 +01:00
David Lindholm
8fe1e48f0c
8073545: Use shorter and more descriptive names for GC worker threads
...
Reviewed-by: ehelin, jwilhelm
2015-03-05 16:43:26 +01:00
Thomas Schatzl
cb05b8a496
8058446: G1 Hot card cache should use ArrayAllocator to allocate the cache array
...
Allocate large hot card caches using OS functions instead of the C heap to avoid native memory exhaustion.
Reviewed-by: mgerdin, jwilhelm
2015-02-20 16:07:12 +01:00
Stefan Karlsson
4913ad5d7d
8072911: Remove includes of oop.inline.hpp from .hpp files
...
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Stefan Karlsson
c132a5a0a5
8072910: Move the g1EvacFailure.hpp implementation to g1EvacFailure.cpp
...
Reviewed-by: jwilhelm, tschatzl
2015-02-10 17:16:17 +01:00
Marcus Larsson
71cfff7df1
8066771: Refactor VM GC operations caused by allocation failure
...
Reviewed-by: brutisso, jmasa
2015-02-13 10:31:52 +01:00
Marcus Larsson
7727fe0044
8072621: Clean up around VM_GC_Operations
...
Reviewed-by: brutisso, jmasa
2015-02-13 09:48:49 +01:00
Stefan Johansson
dc5a35154d
8069034: gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java nightly failure
...
When checking for humongous objects to reclaim, we dirty cards that might belong to freed regions. Fixed by checking the region before dirtying.
Reviewed-by: tschatzl, brutisso
2015-02-03 15:50:06 +01:00
Thomas Schatzl
ba4a04aa05
8069760: When iterating over a card, G1 often iterates over much more references than are contained in the card
...
Properly bound the iteration work for objArray-oops.
Reviewed-by: mgerdin, kbarrett
2015-02-02 10:38:39 +01:00
Kim Barrett
1a1ddd0d4b
8068942: Improve validation of -XX:G1ConfidencePercent value
...
Validate during argument processing and simplify usage by assuming validated.
Reviewed-by: jmasa, tschatzl
2015-01-29 00:08:38 -05:00
Claes Redestad
155c09ca6b
8069273: Decrease Hot Card Cache Lock contention
...
Reviewed-by: tschatzl, mgerdin
2015-01-29 15:05:25 +01:00
Joseph Provino
3bd08574dc
8064947: Clean up BarrierSet ctor/dtor
...
Make abstract base call contructors protected and require a "kind" argument.
Reviewed-by: jmasa, jwilhelm
2015-01-27 13:50:31 -05:00
Alejandro Murillo
bbd13b5561
Merge
2015-01-22 22:42:31 -08:00
Erik Helin
759740976b
8068971: A heap region being cleared should not belong to the cset
...
Reviewed-by: brutisso, tschatzl
2015-01-16 14:43:45 +01:00
Johannes Scheerer
508b9a0a1f
8068739: G1CollectoryPolicy uses uninitialized field '_sigma' in the constructor
...
Change initialization order in constructor. Remove suppression for suppression of "'this': used in base member initializer list" warning.
Reviewed-by: mgerdin, tschatzl, simonis
2015-01-13 11:04:53 +01:00
Stefan Johansson
7a8a19d1d9
8062063: Usage of UseHugeTLBFS, UseLargePagesInMetaspace and huge SurvivorAlignmentInBytes cause crashes in CMBitMapClosure::do_bit
...
Making sure committed memory is cleared when re-committed, even if using large pages.
Reviewed-by: kbarrett, tschatzl
2015-01-12 15:24:29 +01:00
Claes Redestad
8d30377d50
8068037: Remove dead code in G1CollectedHeap
...
Reviewed-by: stefank, tschatzl
2015-01-08 14:13:03 +01:00
Thomas Schatzl
afb458ef0e
8048179: Early reclaim of large objects that are referenced by a few objects
...
Push the remembered sets of large objects with few referenced into the dirty card queue at the beginning of the evacuation so that they may end up with zero remembered set entries at the end of the collection, and are potentially reclaimed. Also improve timing measurements of the early reclaim mechanism, and shorten flag names.
Reviewed-by: brutisso, jmasa, dfazunen
2015-01-07 15:15:37 +01:00
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