538 Commits

Author SHA1 Message Date
Thomas Schatzl
7223ed2205 8152724: Sum of eden before GC and current survivor capacity may be larger than heap size
Limit the maximum survivor size for a given GC to the remaining number of free regions.

Reviewed-by: sjohanss, sangheki
2018-12-12 12:00:02 +01:00
Kim Barrett
13b56530f4 8215097: Do not create NonJavaThreads before BarrierSet
G1 and CMS delay worker thread creation until BarrierSet exists.

Reviewed-by: dholmes, tschatzl
2018-12-11 18:00:17 -05:00
Erik Österlund
9897ff01e9 8214897: ZGC: Concurrent Class Unloading
Co-authored-by: Per Liden <per.liden@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: pliden
2018-12-11 11:08:39 +01:00
Thomas Schatzl
f2765739f7 8215149: TestOptionsWithRangesDynamic.java fails after JDK-8215120
Removed range specifier completely.

Reviewed-by: sjohanss, shade
2018-12-10 18:32:47 +01:00
Roman Kennke
8b62a2ee9d 8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
Co-authored-by: Christine Flood <chf@redhat.com>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Zhenygu Gu <zgu@redhat.com>
Co-authored-by: Andrew Haley <aph@redhat.com>
Co-authored-by: Andrew Dinn <adinn@redhat.com>
Co-authored-by: Mario Torre <mtorre@redhat.com>
Reviewed-by: kvn, roland, shade, coleenp, lmesnik, pliden, jgeorge, ihse, erikj
2018-12-10 15:47:44 +01:00
Aleksey Shipilev
df71ef8c78 8215120: 32-bit build failures after JDK-8212657 (Promptly Return Unused Committed Memory from G1)
Reviewed-by: tschatzl, rkennke
2018-12-10 15:31:36 +01:00
Thomas Schatzl
49efeb69ff 8212657: Implementation of JDK-8204089 Promptly Return Unused Committed Memory from G1
Issue optional, default enabled, concurrent cycles when the VM is idle to reclaim unused internal and Java heap memory.

Co-authored-by: Rodrigo Bruno <rbruno@gsd.inesc-id.pt>
Co-authored-by: Ruslan Synytsky <rs@jelastic.com>
Reviewed-by: sjohanss, sangheki
2018-12-10 10:25:27 +01:00
Coleen Phillimore
3d0faa649c 8214972: Uses of klass_holder() except GC need to apply GC barriers
Fix klass_holder() and make all callers use it, remove holder_phantom().

Reviewed-by: eosterlund, dlong
2018-12-07 14:48:35 -05:00
Zhengyu Gu
b9769c732e 8204947: Port ShenandoahTaskTerminator to mainline and make it default
Reviewed-by: tschatzl, rkennke
2018-12-07 13:55:06 -05:00
Man Cao
df4b7015bf 8213224: Move code related to GC threads calculation out of AdaptiveSizePolicy
Consolidate code related to GC threads calculation into a single class

Reviewed-by: tschatzl, pliden
2018-12-07 12:46:31 +08:00
Stefan Johansson
37f135132e 8213890: Implementation of JEP 344: Abortable Mixed Collections for G1
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Reviewed-by: tschatzl, kbarrett
2018-12-07 13:54:45 +01:00
Thomas Schatzl
3981414bce 8215005: Missing include of runtime/os.hpp in zError.cpp after JDK-8214925 breaks build without precompiled headers
Reviewed-by: shade
2018-12-07 11:15:18 +01:00
Nils Eliasson
4246096355 8214773: Replace use of thread unsafe strtok
Reviewed-by: thartmann, dholmes
2018-12-04 18:55:06 +01:00
Matthias Baesken
f8ccc8393b 8214944: replace strerror by os::strerror
Reviewed-by: dholmes, neliasso
2018-12-06 09:48:33 +01:00
Thomas Schatzl
528361f7ae 8214850: Rename vm_operations.?pp files to vmOperations.?pp files
Reviewed-by: dholmes, coleenp
2018-12-06 15:44:40 +01:00
Thomas Schatzl
eb5557a98e 8214791: Consistently name gc files containing VM operations
Name all gc files containing VM operations according to a <gc>VMOperations.?pp.

Reviewed-by: coleenp, dholmes
2018-12-06 15:44:13 +01:00
Thomas Schatzl
613912a595 8159440: Move marking of promoted objects during initial mark into the concurrent phase
Reviewed-by: sjohanss, kbarrett
2018-12-06 13:55:22 +01:00
Thomas Schatzl
b1c5e310ac 8193312: Rename VM_CGC_Operation to VM_G1Concurrent
Reviewed-by: pliden, sjohanss, jgeorge
2018-12-06 13:55:22 +01:00
Per Lidén
9b6ea802b5 8214786: Remove unused ThreadLocalAllocBuffer::verify()
Reviewed-by: kbarrett, eosterlund
2018-12-05 17:11:22 +01:00
Roland Westrelin
6cbb52dc24 8214541: ZGC: Refactoring from JDK-8214172 may leave PhaseIterGVN::_delay_transform set
Reviewed-by: eosterlund
2018-11-30 15:22:44 +01:00
Ioi Lam
a0a108fb01 8214388: CDS dumping fails with java heap fragmentation
Force a full GC with a single thread before writing heap archive regions

Reviewed-by: sjohanss, jiangli
2018-12-03 22:27:24 -08:00
Per Lidén
fff6e05c96 8214377: ZGC: Don't use memset to initialize array of ZForwardingTableEntry
Reviewed-by: rkennke, eosterlund
2018-12-03 14:52:49 +01:00
Sangheon Kim
098d20434c 8211735: Wrong heap mapper can be selected with UseLargePages on G1
Reviewed-by: tschatzl, kbarrett
2018-11-28 15:09:26 -08:00
Nils Eliasson
d92085431b 8214434: Disabling ZOptimizeLoadBarriers hits assert
Reviewed-by: kvn, pliden, eosterlund
2018-11-29 09:31:04 +01:00
Kim Barrett
978c78f7fc 8214278: Cleanup process_completed_threshold and related state
Change types, normalize names, remove special values.

Reviewed-by: tschatzl, sjohanss
2018-11-28 16:05:48 -05:00
Thomas Schatzl
0f0b8626fc 8213996: Remove one of the SparsePRT entry tables
Remove unused functionality in SparsePRT

Reviewed-by: shade, sjohanss
2018-11-28 11:06:58 +01:00
Roland Westrelin
cd0aafe76a 8214362: C2: gc interface entry point for split if
Reviewed-by: rkennke, thartmann
2018-11-27 14:49:13 +01:00
Roland Westrelin
8849b1c7b7 8214172: GC interface entry points for loop opts
Reviewed-by: kvn, rkennke
2018-11-27 09:35:02 +01:00
Kim Barrett
5c99d95a63 8214202: DirtyCardQueueSet::get_completed_buffer should not clear _process_completed
Remove flag clearing and simplify get_completed-buffer.

Reviewed-by: tschatzl, sjohanss
2018-11-26 13:17:39 -05:00
Stefan Johansson
bde8307cf9 8214118: HeapRegions marked as archive even if CDS mapping fails
Reviewed-by: tschatzl, jiangli
2018-11-23 10:57:07 +01:00
Robbin Ehn
751aa57f16 8214181: safepoint header cleanup
Reviewed-by: kbarrett, dholmes, coleenp
2018-11-23 11:07:54 +01:00
Erik Österlund
1379397c32 8213755: Let nmethods be is_unloading() outside of safepoints
Reviewed-by: rehn, coleenp, kvn
2018-11-22 10:01:38 +01:00
Thomas Schatzl
fc8795984a 8213927: G1 ignores AlwaysPreTouch when UseTransparentHugePages is enabled
With UseTransparentHugePages we always need to pretouch on small page size as the underlying memory could currently be allocated as either small or large pages.

Reviewed-by: shade, sjohanss
2018-11-22 09:26:51 +01:00
Thomas Schatzl
0febdff79b 8213997: Remove G1HRRSUseSparseTable flag
Remove develop flag because it is not used anyway.

Reviewed-by: shade, manc
2018-11-22 09:25:19 +01:00
Roman Kennke
34a1c2e6bb 8214057: GC/C2 abstraction for Node::has_special_unique_user()
Reviewed-by: kvn, roland
2018-11-22 09:23:05 +01:00
Roman Kennke
4b528df402 8214055: GC/C2 abstraction for phaseX
Reviewed-by: kvn, roland
2018-11-22 09:22:54 +01:00
Per Lidén
10526c99f9 8212748: ZGC: Add reentrant locking functionality
Reviewed-by: eosterlund, kbarrett
2018-11-09 14:08:01 +01:00
Kim Barrett
d8e5d52deb 8214144: Remove confusing locking_enqueue_completed_buffer
Remove function.

Reviewed-by: tschatzl, manc
2018-11-21 09:40:19 -05:00
Ioi Lam
6d269930fd 8213587: Speed up CDS dump time by using resizable hashtables
Reviewed-by: jiangli, coleenp, gziemski
2018-11-20 20:00:15 -08:00
Roman Kennke
521da29e44 8213746: GC/C2 abstraction for C2 matcher
Reviewed-by: kvn, roland
2018-11-20 22:37:34 +01:00
Per Lidén
a0c58fb8c6 8213623: ZGC: Let heap iteration walk all roots
Reviewed-by: eosterlund, kbarrett
2018-11-20 08:17:24 +01:00
Jiangli Zhou
14b7467279 8213898: CDS dumping of springboot asserts in G1ArchiveAllocator::alloc_new_region
HeapRegionManager::find_highest_free needs to check if the region obtained from the HeapRegionManager::_regions is available.

Reviewed-by: tschatzl, sjohanss
2018-11-16 13:23:50 -05:00
Kim Barrett
5e0d5efe4c 8213352: Separate BufferNode allocation from PtrQueueSet
Move free-list management and allocation to new class.

Reviewed-by: tschatzl, sjohanss
2018-11-15 19:59:10 -05:00
Aleksey Shipilev
c8ebf4da3b 8213373: Bulk MarkBitMap clearing methods
Reviewed-by: rkennke, zgu
2018-11-15 21:05:47 +01:00
Man Cao
cc8ee84d59 8213829: Remove circular dependency between g1CollectedHeap and g1ConcurrentMark
Improve include statements related to g1CollectedHeap.inline.hpp

Reviewed-by: kbarrett, tschatzl
2018-11-13 22:08:44 -08:00
Roman Kennke
acc32136c3 8213615: GC/C2 abstraction for escape analysis
Reviewed-by: kvn, roland
2018-11-15 10:59:56 +01:00
Thomas Schatzl
56db122656 8213307: G1 should clean up RMT with ClassUnloadingWithConcurrentMark
Re-enable cleanup of the ResolvedMethodTable after changes in JDK-8206423.

Reviewed-by: shade, coleenp
2018-11-13 11:45:16 +01:00
Man Cao
9d39cba453 8213113: Dead code related to UseAdaptiveSizePolicy in ParNewGeneration
Removed dead code related to UseAdaptiveSizePolicy for CMS

Reviewed-by: pliden, tschatzl
2018-11-09 12:13:20 -08:00
Roman Kennke
9e754390c6 8213489: GC/C2 abstraction for Compile::final_graph_reshaping()
Reviewed-by: kvn, roland
2018-11-09 10:38:07 +01:00
Roman Kennke
7c3f2b06f1 8213199: GC abstraction for Assembler::needs_explicit_null_check()
Reviewed-by: adinn, eosterlund
2018-11-08 23:31:08 +01:00