Bengt Rutisson
fd46a24a3e
8076076: Move SharedHeap::print_size_transition() into G1 code
...
Reviewed-by: tschatzl, mgerdin
2015-03-27 09:28:47 +01:00
Stefan Karlsson
ba1d121fe0
8075957: Reduce calls to the GC specific object visitors in oopDesc
...
Reviewed-by: brutisso, mgerdin, pliden
2015-03-26 11:28:19 +01:00
Stefan Karlsson
0c57e77d43
8075803: Fix GC includes and forward declarations
...
Reviewed-by: pliden, mgerdin
2015-03-24 11:21:21 +01:00
Jesper Wilhelmsson
5f5b27baba
Merge
2015-03-23 22:08:14 +01:00
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
Jesper Wilhelmsson
c1bc0a31b2
8074459: Flags handling memory sizes should be of type size_t
...
Changed the type to size_t for flags that handles memory sizes
Reviewed-by: kbarrett, tschatzl
2015-03-03 18:01:27 +01: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
Bengt Rutisson
8c7781ec72
8027962: Per-phase timing measurements for strong roots processing
...
Reviewed-by: tschatzl, ecaspole
2015-03-19 15:25:54 +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
Mikael Gerdin
f5292016ee
8075210: Refactor strong root processing in order to allow G1 to evolve separately from GenCollectedHeap
...
Create a G1RootProcessor and move SharedHeap root processing to GenCollectedHeap
Reviewed-by: brutisso, tschatzl, ehelin
2014-12-01 15:24:56 +01:00
Stefan Karlsson
28adfbf0be
8075249: Cleanup forward_to_atomic and ClaimedForwardPtr
...
Reviewed-by: kbarrett, brutisso
2015-03-17 15:53:55 +01:00
Stefan Karlsson
366bf9ff09
8075247: Cleanup specialized_oop_closures.hpp
...
Reviewed-by: mgerdin, brutisso, tschatzl
2015-03-17 14:18:52 +01:00
Stefan Karlsson
426a345fec
8075242: Remove SpecializationStats
...
Reviewed-by: brutisso, mgerdin
2015-03-17 13:23:49 +01:00
Andrey Zakharov
9272128a46
8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
...
Added WhiteBox methods to count regions and exact aux data sizes
Reviewed-by: tschatzl, jwilhelm, mgerdin
2015-03-16 17:51:28 +03:00
David Lindholm
bcf9ea6cbf
8073463: G1 does not mangle freed heap regions
...
Reviewed-by: mgerdin, jwilhelm
2015-03-12 14:09:36 +01:00
Bengt Rutisson
395543dadc
8074037: Refactor the G1GCPhaseTime logging to make it easier to add new phases
...
Reviewed-by: tschatzl, mgerdin, ecaspole
2015-03-12 10:11:20 +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