409 Commits

Author SHA1 Message Date
Evgeniya Stepanova
19e80a1f8f 6407976: GC worker number should be unsigned
Reviewed-by: jwilhelm, tschatzl
2015-04-29 15:12:33 +03:00
Dmitry Fazunenko
f10e4ec0a6 8073476: G1 logging ignores changes to PrintGC* flags via MXBeans
Reviewed-by: brutisso, jwilhelm
2015-04-29 15:32:05 +04:00
Jesper Wilhelmsson
ab61943776 Merge 2015-04-28 23:37:11 +02:00
Sangheon Kim
e207b18f10 8073204: Determining the desired PLAB size adjusts to the the number of threads at the wrong place
Calculate the desired PLAB value for a single thread and then return desired PLAB size according to the current number of threads when needed

Reviewed-by: ysr, jwilhelm, tschatzl
2015-04-28 12:02:50 -07:00
Stefan Karlsson
6dde0580a0 Merge 2015-04-28 12:17:56 +00:00
Thomas Schatzl
e08169c253 8073632: Make auxiliary data structures know their own translation factor
Auxiliary data structures should have knowledge of their own requirements for virtual memory reservations instead of getting these values directly from various places.

Reviewed-by: stefank, kbarrett
2015-04-27 10:04:26 +02:00
Stefan Karlsson
f7ea0b72eb 8076177: Remove usage of stack.inline.hpp functions from taskqueue.hpp
Reviewed-by: brutisso, goetz
2015-04-27 09:51:06 +02:00
Kim Barrett
5f1b96662a 8078023: verify_no_cset_oops found reclaimed humongous object in SATB buffer
Removed no longer valid checking of SATB buffers

Reviewed-by: jmasa, pliden
2015-04-22 14:06:49 -04:00
Stefan Karlsson
be6e9b9f50 8042891: Format issues embedded in macros for two g1 source files
Reviewed-by: brutisso, tschatzl
2015-04-20 13:34:04 +02:00
Bengt Rutisson
0d5c04e00d 8078156: G1: Remove dead code PrintObjsInRegionClosure
Reviewed-by: tschatzl, sjohanss
2015-04-20 16:18:02 +02:00
Per Lidén
817138c4f9 Merge 2015-04-16 10:38:06 +00:00
Per Lidén
82de4945ac 8077415: Remove duplicate variables holding the CollectedHeap
Reviewed-by: stefank, kbarrett
2015-04-16 09:28:18 +02:00
Bengt Rutisson
f8c508af0f 8077841: G1: Remove PrintReachable support
Reviewed-by: stefank, tschatzl
2015-04-16 09:16:19 +02:00
Kim Barrett
763048052f 8069367: Eagerly reclaimed humongous objects left on mark stack
Prevent eager reclaim of objects that might be on mark stack.

Reviewed-by: brutisso, tschatzl
2015-04-15 12:16:01 -04:00
Stefan Karlsson
d71d16b043 8076457: Fix includes of inline.hpp in GC code
Reviewed-by: pliden, jmasa
2015-04-02 10:24:24 +02:00
Per Lidén
ca9afd25f6 8077413: Avoid use of Universe::heap() inside collectors
Reviewed-by: stefank, kbarrett
2015-04-13 15:47:48 +02:00
Thomas Schatzl
06bba0999a 8077255: TracePageSizes output reports wrong page size on Windows with G1
Print selected page size, not alignment size chosen by ReservedSpace (which is the vm_allocation_granularity that is different to page size on Windows) in the message presented by TracePageSizes.

Reviewed-by: drwhite, jmasa
2015-04-09 15:41:47 +02:00
Thomas Schatzl
0a0a22f7ea 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:53:51 +02:00
Bengt Rutisson
d2f816a875 8076452: Remove SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:08:41 +02:00
Bengt Rutisson
c3b72f7f5b 8076454: Clean up/move things out of SharedHeap
Reviewed-by: stefank, sjohanss, david
2015-04-02 16:06:07 +02:00
Bengt Rutisson
bedce0572a 8076314: Remove the static instance variable SharedHeap:: _sh
Reviewed-by: pliden, jmasa
2015-04-02 06:42:24 +02:00
Jon Masamitsu
473bf6175f 8017462: G1: guarantee fails with UseDynamicNumberOfGCThreads
Reviewed-by: tschatzl, brutisso
2015-03-17 11:19:05 -07:00
Bengt Rutisson
a5e42354fe 8076237: Remove unused _collector_policy field in SharedHeap
Reviewed-by: jwilhelm, drwhite, stefank
2015-03-31 11:27:20 +02:00
Per Lidén
ff23a17283 8076231: Remove unused is_in_partial_collection()
Reviewed-by: brutisso, drwhite
2015-03-31 08:27:30 +02: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
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
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
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
Erik Helin
be4035c60a 8030646: track collection set membership in one place
Reviewed-by: tschatzl, jwilhelm
2015-01-26 10:32:35 +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
426a345fec 8075242: Remove SpecializationStats
Reviewed-by: brutisso, mgerdin
2015-03-17 13:23:49 +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
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
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
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