1126 Commits

Author SHA1 Message Date
Thomas Schatzl
77fc522153 Merge 2015-03-03 13:25:23 +00: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
David Lindholm
a827cdfa10 8073464: GC workers do not have thread names
Reviewed-by: brutisso, tschatzl
2015-03-03 12:19:35 +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
Stefan Karlsson
cd997db44d 8073543: Circular include dependency between psScavenge.inline.hpp and psPromotionManager.inline.hpp
Reviewed-by: brutisso, mgerdin
2015-02-20 13:54:42 +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
Jesper Wilhelmsson
e238141b5c 8061802: REDO - Remove the generations array
The _gens array is removed and replaced by explicit _young_gen and _old_gen variables.

Reviewed-by: kbarrett, mgerdin
2014-08-22 10:10:08 +02:00
Sangheon Kim
14916eab46 8073115: assert(_covered_region.contains(p)) needs better error messages
Changed to print out related values

Reviewed-by: jwilhelm, brutisso, stefank
2015-02-16 08:38:23 -08: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
Marcus Larsson
20bfd4cf7c 8066566: Refactor ParNewGeneration to contain ParNewTracer
Reviewed-by: ehelin, kbarrett
2015-02-11 14:47:21 +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
Erik Helin
c671f2ff04 Merge 2015-01-16 10:32:40 +00:00
Erik Helin
86f95c464f 8066875: VirtualSpace does not use large pages
Reviewed-by: stefank, tschatzl, anoll, thartmann
2015-01-16 10:29:12 +01:00
Jungwoo Ha
788b0d89f8 8061259: ParNew promotion failed is serialized on a lock
Reviewed-by: kbarrett, brutisso
2015-01-16 09:40:13 +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
Jesper Wilhelmsson
8575f889ee Merge 2015-01-05 15:00:30 +01:00
Vladimir Kozlov
0936c21af6 Merge 2014-12-23 16:42:48 -08: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
Volker Simonis
97f5022f02 8067865: Changes 8066780/8066782 broke the non-PCH build
Reviewed-by: kvn
2014-12-18 16:53:13 +01:00
Jesper Wilhelmsson
dfc952b138 Merge 2014-12-18 16:15:49 +01:00
Jesper Wilhelmsson
1584f4cfc2 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
Derek White
12273757f7 8061611: Remove deprecated command line flags
Reviewed-by: jwilhelm, brutisso
2014-12-17 18:09:24 +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
Kim Barrett
284e23e67e 8066822: Remove PSMarkSweep::set_reference_processor
Reviewed-by: brutisso, tschatzl
2014-12-11 19:44:32 +01:00
Staffan Friberg
912fb05672 8066442: Add PS and ParOld support for promotion event
Reviewed-by: tschatzl, ehelin
2014-12-10 10:10:43 -08:00
Bengt Rutisson
bdb2636f9e 8066782: Move common code from CMSGeneration and TenuredGeneration to CardGeneration
Reviewed-by: kbarrett, tschatzl
2014-12-10 11:32:22 +01:00
Bengt Rutisson
ef7d6c3b9d 8066780: Split CardGeneration out to its own file
Reviewed-by: kbarrett, tschatzl
2014-12-10 11:30:46 +01: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
b14eca8aac Merge 2014-12-08 18:52:03 +01:00