724 Commits

Author SHA1 Message Date
Stefan Karlsson
dbd3b5a79e 8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl
2017-07-04 15:58:10 +02:00
Stefan Karlsson
0fcf645cff 8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn
2017-04-12 17:53:18 +02:00
Thomas Schatzl
0d6c9d4030 8179677: Let G1Remset::_conc_refined_cards only count number of cards concurrently refined
Reviewed-by: sjohanss, ehelin
2017-07-04 09:16:26 +02:00
Thomas Schatzl
4318d80587 8183394: Remove unused G1RemSet::n_workers() method
Reviewed-by: mgerdin, ehelin
2017-07-04 09:15:45 +02:00
Erik Helin
97e1f47359 8153360: G1HRRSFlushLogBuffersOnVerify with remembered set verification does not work
Reviewed-by: sjohanss, tschatzl
2017-07-03 17:19:11 +02:00
Erik Helin
19992b94e3 8183281: Remove unnecessary call to increment_gc_time_stamp
Reviewed-by: sjohanss, tschatzl
2017-07-03 14:24:07 +02:00
Erik Helin
9eb98aac44 8183124: Remove OopsInHeapRegionClosure
Reviewed-by: sjohanss, tschatzl
2017-06-28 14:38:10 +02:00
Erik Helin
f01d388b13 8183122: Rename RefineRecordRefsIntoCSCardTableEntryClosure to G1RefineCardClosure
Reviewed-by: sjohanss, tschatzl
2017-06-28 14:17:28 +02:00
Thomas Schatzl
ea07d0ec2a 8178151: Clean up G1RemSet files
Remove unnecessary class members, improve method visibility and naming

Reviewed-by: ehelin, sjohanss
2017-06-28 14:15:56 +02:00
Thomas Schatzl
be1f5ab521 8183006: Remove unused IterateOopClosureRegionClosure
Reviewed-by: sjohanss, ehelin
2017-06-28 12:11:55 +02:00
Thomas Schatzl
c0fff2604d 8183002: Remove unused concurrent parameter in HeapRegionManager::par_iterate
Reviewed-by: ehelin, sjohanss
2017-06-28 12:11:48 +02:00
Thomas Schatzl
52a1ad0388 8175554: Improve G1UpdateRSOrPushRefClosure
Micro-optimizations and improving naming for the G1UpdateRSOrPushRefClosure

Reviewed-by: ehelin, sangheki
2017-06-28 10:58:19 +02:00
Thomas Schatzl
8467de8bbc 8178148: Log more detailed information about scan rs phase
Add logging about the number of cards actually scanned, claimed and skipped during the Scan RS phase

Reviewed-by: ehelin, sangheki
2017-06-14 11:26:44 +02:00
Stefan Karlsson
06cee886b1 8178490: Usages of is_object_aligned with pointers are broken
Reviewed-by: tschatzl, kbarrett
2017-04-11 23:45:37 +02:00
Stefan Karlsson
ed94ecff28 8182696: Remove gcTrace.hpp include from referenceProcessor.hpp
Reviewed-by: tschatzl, kbarrett
2017-06-22 09:07:47 +02:00
Kim Barrett
6cc7e33ce7 8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
Refactor debug.hpp and reverse include dependency.

Reviewed-by: coleenp, stefank, dcubed
2017-06-22 20:47:22 -04:00
Thomas Schatzl
f2b486212e 8177044: Remove _scan_top from HeapRegion
Remove the _scan_top member from HeapRegion using a per-gc pre-calculated table of scan limits that also subsumes other checks.

Reviewed-by: sangheki, kbarrett, ehelin
2017-06-02 13:48:01 +02:00
Thomas Schatzl
c982403296 8177707: Specialize G1RemSet::refine_card for concurrent/during safepoint refinement
Reviewed-by: ehelin, kbarrett
2017-06-02 13:47:54 +02:00
Thomas Schatzl
3e624c317a 8162928: Micro-optimizations in scanning the remembered sets
Reviewed-by: ehelin, kbarrett
2017-06-02 13:45:21 +02:00
Thomas Schatzl
92a1acb43b 8071280: Specialize HeapRegion::oops_on_card_seq_iterate_careful() for use during concurrent refinement and updating the rset
Reviewed-by: kbarrett, sangheki, ehelin
2017-06-02 13:45:15 +02:00
Coleen Phillimore
6659245612 8174749: Use hash table/oops for MemberName table
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc

Reviewed-by: sspitsyn, stefank, jrose
2017-05-27 09:21:01 -04:00
Thomas Schatzl
4c944bd1ca 8180755: Remove use of bitMap.inline.hpp include from instanceKlass.hpp and c1_ValueSet.hpp
Reviewed-by: ehelin, coleenp, dholmes
2017-05-26 13:46:49 +02:00
Thomas Schatzl
707c566055 8177764: Humongous Reclaimed log output may be confusing
Make all log messages dealing with humongous reclaim report number of handled objects, not regions.

Reviewed-by: pliden, sjohanss
2017-05-12 11:41:05 +02:00
Chihiro Ito
61b56ef305 8166191: Missing spaces in log message during heap expansion
Reviewed-by: tschatzl
2017-05-12 11:38:20 +02:00
Alexander Harlap
4dc55a6593 8065402: G1 does not expand marking stack when mark stack overflow happens during concurrent marking
Simplified decision mechanism for marking stack expansion

Reviewed-by: kbarrett, tschatzl
2017-05-09 13:50:06 -04:00
Stefan Johansson
50ded710fd 8138888: Remove ExtendedOopClosure::apply_to_weak_ref_discovered_field
Reviewed-by: kbarrett, tschatzl
2017-05-09 11:03:45 +02:00
Kim Barrett
a65b58e18d 8178836: Improve PtrQueue index abstraction
Prefer element indexes where possible.

Reviewed-by: shade, mgerdin
2017-05-08 07:16:10 -04:00
Alexander Harlap
cf7c7fedcd 8178542: G1: VM hangs during shutdown due to mark stack overflow
Removed not needed call to clear_has_overflown() to avoid inconsistent state

Reviewed-by: kbarrett, sangheki
2017-05-01 10:50:38 -04:00
Stefan Johansson
e237e703df 8138737: Remove oop_ms_adjust_pointers and use oop_iterate instead
Reviewed-by: kbarrett, stefank
2017-04-26 10:26:39 +02:00
Kim Barrett
6de1e550d8 8179181: Cleanup BitMap search API
Remove _inline suffixes and remove duplicate wrappers.

Reviewed-by: dholmes, coleenp
2017-04-23 15:02:46 -04:00
Jesper Wilhelmsson
d507b8945c Merge 2017-04-18 22:25:33 +02:00
Lana Steuck
2293dc116c Merge 2017-04-13 20:35:45 +00:00
Y. Srinivas Ramakrishna
961c251005 8177963: Parallel GC fails fast when per-thread task log overflows
Instead of exiting the VM when per-thread task log overflows, print warnings once and ignore any further log addition attempt.

Reviewed-by: ysr, kbarrett, sangheki
2017-04-07 10:45:26 +02:00
Kim Barrett
5fb44c25c7 8169517: WhiteBox should provide concurrent GC phase control
Added WhiteBox API and G1 implementation.

Reviewed-by: shade, dfazunen
2017-04-13 16:38:39 -04:00
Lana Steuck
7a3d0a1349 Merge 2017-02-23 17:22:44 +00:00
Lana Steuck
e02360463a Merge 2017-02-09 18:15:37 +00:00
David Holmes
fe4d1bb602 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: lfoltan, mikael, dcubed
2017-01-31 19:26:50 -05:00
Thomas Schatzl
6fb4d7356b 8173229: Wrong assert whether all remembered set entries have been iterated over in presence of coarsenings
Remove asserts as they are almost useless.

Reviewed-by: mgerdin, ehelin
2017-01-27 13:12:53 +01:00
Jamsheed Mohammed C M
197ce5bafa 8166002: Emulate client build on platforms with reduced virtual address space
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like.

Reviewed-by: kvn, iveresov
2017-01-17 21:38:07 -08:00
Arno Zeller
43b7b1bd77 8171924: Use SIZE_FORMAT to print size_t values
Reviewed-by: dholmes, tschatzl, coleenp, goetz
2016-12-22 16:51:25 +01:00
Bharadwaj Yadavalli
2841c5eb2b 8171008: Integrate AOT compiler into JDK
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Kirill Zhaldybin
8bf0437430 8170468: Convert ParallelCompact_test to GTest
Reviewed-by: dfazunen, iignatyev
2016-12-03 12:48:22 +03:00
Kirill Zhaldybin
8d6d1e4cda 8170490: Convert TestBufferingOopClosure_test to GTest
Reviewed-by: dfazunen, iignatyev
2016-12-01 12:09:02 +03:00
Gunter Haug
78e6980e1a 8170409: CMS: Crash in CardTableModRefBSForCTRS::process_chunk_boundaries
Reviewed-by: simonis, tschatzl, mgerdin, dlong
2016-12-02 11:07:27 +01:00
Leonid Mesnik
9a28eb0745 8166898: G1SATBCardTableLoggingModRefBS::invalidate() incorrect with whole_heap == true
Reviewed-by: tschatzl, kbarrett
2016-11-24 16:48:22 +03:00
Thomas Schatzl
06bd79afed 8057003: Large reference arrays cause extremely long synchronization times
Slice large object arrays into parts so that the synchronization of marking threads with an STW pause request does not take long.

Reviewed-by: ehelin, pliden
2016-11-24 11:27:57 +01:00
Thomas Schatzl
557d68a510 8169703: G1 crashes with guarantee(pretouch_gang != NULL) failed: No pretouch gang specified
Allow use of AlwaysPreTouch without passing a WorkGang.

Reviewed-by: kbarrett, dfazunen, ddmitriev
2016-11-24 10:05:47 +01:00
Kirill Zhaldybin
9439c78ffa 8168492: Convert CollectedHeap_test to GTest
Reviewed-by: iignatyev, tschatzl
2016-11-23 12:01:57 +03:00
Thomas Schatzl
de637b636d 8176885: Clear Claimed Marks log message at wrong location in the log
Move message and code to the pre evacuation phase part of the GC

Reviewed-by: sjohanss, sangheki
2017-03-28 09:13:00 +02:00
Stefan Johansson
d11fb72564 8171238: Unify cleanup code used in G1 Remark and Full GC marking
Reviewed-by: tschatzl, pliden
2017-03-24 10:27:04 +01:00