Kim Barrett
5c83330cf8
8212826: Make PtrQueue free list lock-free
...
Add lock-free stack and use in BufferNode::Allocator.
Reviewed-by: tschatzl, sangheki
2019-01-19 19:50:01 -05:00
Jesper Wilhelmsson
cda0d67617
Merge
2019-01-16 20:53:09 +01:00
Thomas Schatzl
39d17b706b
8216490: Spammy periodic GC log message contains random time stamp with periodic gc disabled
...
Print periodic gc status at startup and only print regular messages if enabled.
Reviewed-by: sangheki, kbarrett
2019-01-16 11:43:51 +01:00
Zhengyu Gu
b9333e1d81
8215299: Remove G1CMTask::should_exit_termination()'s undesirable side-effect
...
Reviewed-by: kbarrett, rkennke, tschatzl
2019-01-09 19:05:05 -05:00
Kishor Kharbas
d580e2eed2
8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
...
8202286: Allocation of old generation of Java heap on alternate memory devices
Enable an experimental feature in HotSpot JVM to allocate old generation of G1 GC on an alternative memory device, such as NV-DIMMs.
Reviewed-by: sangheki, sjohanss
2018-12-21 08:18:59 -08:00
Thomas Schatzl
1a1369d270
8215548: G1PeriodicGCSystemLoadThreshold needs to be a double
...
Change G1PeriodicGCSystemLoadThreshold to be a double to allow better granularity in determining idleness
Reviewed-by: sjohanss, sangheki
2018-12-20 19:44:33 +01:00
Coleen Phillimore
154a1a02bf
8216167: Update include guards to reflect correct directories
...
Use script and some manual fixup to fix directores names in include guards.
Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Coleen Phillimore
1509c1ffe1
8215731: Move forward class definitions out of globalDefinitions.hpp
...
Redistribute the forward declarations to the header files that need them.
Reviewed-by: dholmes, lfoltan
2019-01-04 15:06:01 -05:00
Jesper Wilhelmsson
59716b0bb3
Merge
2019-01-02 16:05:13 +01:00
Kim Barrett
575f633a96
8214201: Make PtrQueueSet completed buffer list private
...
Merge and make private in PtrQueueSet all completed buffer list handling
Reviewed-by: tschatzl, sjohanss
2018-12-26 19:24:00 -05:00
Jesper Wilhelmsson
eb3549baf7
Merge
2018-12-21 01:25:46 +01:00
Leo Korinth
811c84ba68
8214946: G1: Initialize all class members on construction
...
Reviewed-by: kbarrett, tschatzl
2018-12-17 11:37:40 +01:00
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
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
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
Nils Eliasson
4246096355
8214773: Replace use of thread unsafe strtok
...
Reviewed-by: thartmann, dholmes
2018-12-04 18:55:06 +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
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
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
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
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
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
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
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
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
Roman Kennke
31cfeabc46
8213469: Remove/fix leftovers from JDK-8213384: Move G1/C2 barrier verification into G1BarrierSetC2
...
Reviewed-by: kvn, roland
2018-11-07 20:24:44 +01:00
Roman Kennke
29f03ebf2c
8213384: Move G1/C2 barrier verification into G1BarrierSetC2
...
Reviewed-by: kvn, roland, eosterlund
2018-11-06 17:28:14 +01:00
Roland Westrelin
8ab8d45552
8212243: More gc interface tweaks for arraycopy
...
Reviewed-by: kvn, eosterlund
2018-11-06 10:01:27 +01:00
Erik Österlund
25f14cd757
8209189: Make CompiledMethod::do_unloading more concurrent
...
Reviewed-by: kvn, coleenp
2018-11-02 08:33:59 +01:00
Thomas Schatzl
4da555c7a8
8213142: Use RAII to set the scanning source in G1ScanEvacuatedObjClosure
...
Reviewed-by: sangheki, kbarrett
2018-10-31 13:43:57 +01:00
Thomas Schatzl
28c9f22ebb
8212911: Unify and micro-optimize handling of non-in-collection set references in oop closures
...
Reviewed-by: kbarrett, sjohanss
2018-10-31 13:43:57 +01:00
Thomas Schatzl
0e622f29a2
8211388: Make OtherRegionsTable independent of the region it is for
...
Reviewed-by: sjohanss, sangheki
2018-10-31 13:43:57 +01:00
Thomas Schatzl
0d19f0bb51
6490394: G1: Allow heap shrinking / memory unmapping after reclaiming regions during Remark
...
Reviewed-by: sjohanss, sangheki
2018-10-31 13:43:57 +01:00
Thomas Schatzl
3a343a5681
8071913: Filter out entries to free/uncommitted regions during iteration
...
Reviewed-by: sjohanss, kbarrett
2018-10-31 13:43:57 +01:00
Thomas Schatzl
f69c1407ae
8212766: TestPromotionEventWithG1.java failed due to "RuntimeException: PLAB size is smaller than object size."
...
Also send PLAB size in bytes, not in heap words.
Reviewed-by: shade, sjohanss
2018-10-29 08:55:03 +01:00