747 Commits

Author SHA1 Message Date
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
Thomas Schatzl
bd1aac2cd3 8177453: Start_new_collection_set() timing done during wrong type of GC
Move timing code from full gc to young gc.

Reviewed-by: sjohanss, mgerdin
2017-03-24 10:26:58 +01:00
Thomas Schatzl
dd84bb9cff 8176881: DerivedPointerTable Update log message in wrong order in regards to Redirty Cards
Reviewed-by: sjohanss, jprovino
2017-03-21 11:21:11 +01:00
Thomas Schatzl
6a9ca1701d 8155094: Add logging for long lasting methods found in JDK-8152948
Adds logging for DerivedPointerTable, TLAB preparation and resizing, and new collection set setup work

Reviewed-by: kbarrett, sangheki
2017-03-16 09:05:20 +01:00
Coleen Phillimore
4b9562288f 8155672: Remove instanceKlassHandles and KlassHandles
Use unhandled pointers for Klass and InstanceKlass, remove handles with no implementation.

Reviewed-by: dholmes, lfoltan, vlivanov, sspitsyn
2017-03-15 10:25:37 -04:00
Thomas Schatzl
7bca463789 8168467: Use TaskEntry as task mark queue elements
Change the mark stack to use TaskEntry queue elements to improve type safety instead of casting around raw pointers.

Reviewed-by: kbarrett, sangheki
2017-03-15 11:44:46 +01:00
Sangheon Kim
ade6d7cd18 8164038: Missing volatile keyword at CardTableRS::write_ref_field_gc_par()
Reviewed-by: tschatzl, kbarrett
2017-03-09 15:00:23 -08:00
Alexander Harlap
6fdf396624 8165674: G1CMMarkStack::out_of_memory possibly redundant
Remove the redundant G1CMMarkStack::_out_of_memory member.

Reviewed-by: kbarrett, tschatzl
2017-03-09 10:48:44 +01:00
Sangheon Kim
d86c76dca9 8023905: Failing to initialize VM with small initial heap when NUMA and large pages are enabled
Exit VM when fails to initialize small initial heap with NUMA and large pages enabled

Reviewed-by: jmasa, sjohanss
2017-03-07 10:25:58 -08:00
Gunter Haug
e44e774bbe 8175900: Assertion too strict in G1CollectedHeap::new_mutator_alloc_region
Reviewed-by: simonis, tschatzl, kbarrett
2017-02-27 12:57:16 +01:00
Thomas Schatzl
8d405d171c 8071278: Fix the closure mess in G1RemSet::refine_card()
Remove the use of many nested closure in the code to refine a card.

Reviewed-by: kbarrett, sjohanss
2017-03-06 17:03:35 +01:00
Kim Barrett
b067fc774d 8175221: Cleanup DirtyCardQueueSet::concatenate_log
Concatenate_log calls flush, flush no longer checks "permanent"

Reviewed-by: tschatzl, shade
2017-03-04 15:56:22 -05:00
Kim Barrett
358f09e305 8166811: Missing memory fences between memory allocation and refinement
Refactored to have needed barrier

Reviewed-by: tschatzl, ehelin
2016-11-22 20:50:31 -05:00
Kim Barrett
213906ee83 8166607: G1 needs klass_or_null_acquire
Use acquire where needed, split refinment humongous and non to simplify.

Reviewed-by: tschatzl, ehelin
2016-11-22 20:24:47 -05:00
Kim Barrett
7d9d3aa1a0 8169423: Infinite loop in G1's ConcurrentMarkThread
Also terminate loop if has_aborted flag is set.

Reviewed-by: tschatzl, sjohanss
2016-11-15 19:39:51 -05:00
Erik Helin
d19575bfac 8167679: G1 phase logging is messy
Reviewed-by: sjohanss, tschatzl
2016-11-07 10:38:42 +01:00
Joseph Provino
f404ded34f Merge 2017-02-27 23:20:05 +01:00
Joseph Provino
68fa501522 8168038: Some methods in G1RemSet are virtual unnecessarily
G1RemSet has a number of virtual functions, yet is derived from CHeapObj and has no subclasses.

Reviewed-by: kbarrett, tschatzl
2017-02-27 12:41:41 -05:00
Alexander Harlap
725e1cfafe 8151045: Remove code duplication in PLABStats/G1EvacStats::adjust_desired_plab_sz
Move class specific code to the helper method

Reviewed-by: kbarrett, tschatzl
2017-02-23 12:50:49 -05:00
Bob Vandette
929fc23c45 Merge 2017-02-24 12:41:26 -05:00
Stefan Johansson
ae38e65467 8173764: G1 BOT wrongly assumes that objects must always begin at the start of G1BlockOffsetTablePart
Reviewed-by: tschatzl, kbarrett
2017-02-24 10:41:56 +01:00
Stefan Johansson
5ff4b1bb78 8171235: Move archive object code from G1MarkSweep into G1ArchiveAllocator
Reviewed-by: tschatzl, kbarrett
2016-12-07 13:51:20 +01:00
Thomas Schatzl
3b93aefe93 8162104: Use in_cset() instead of obj_in_cs()
Reviewed-by: ehelin, sjohanss
2017-02-23 10:19:05 +01:00
Thomas Schatzl
342c0bc788 8160874: Remove typo in G1InitalMarkClosures
Reviewed-by: stefank, sjohanss
2017-02-23 10:18:21 +01:00
Erik Helin
db9932fb37 8168904: Initialize and reset G1 phase times to zero
Reviewed-by: sjohanss, jprovino
2016-10-28 15:50:09 +02:00
Boris Molodenkov
ebdc27f789 8165451: Convert WorkerDataArray_test to GTest
Reviewed-by: jwilhelm
2016-10-26 17:29:47 +03:00
Vsevolod Tolstopyatov
9d95a1541b 8142749: HeapRegion::_predicted_bytes_to_copy is unused and can be removed
Reviewed-by: tschatzl, drwhite
2016-05-30 14:42:50 +03:00
Joseph Provino
af75e7389a 8160055: Misplaced call to ClassLoaderDataGraph::clear_claimed_marks during initial mark
The call to ClassLoaderDataGraph::clear_claimed_marks() during initial mark in g1CollectedHeap.cpp:4420 is misplaced.

Reviewed-by: tschatzl, kbarrett
2016-10-24 10:10:30 -04:00