425 Commits

Author SHA1 Message Date
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
Thomas Schatzl
931c9cf86d 8212974: Update RS Skipped cards uses wrong enum to register to phase
Reviewed-by: kbarrett
2018-10-29 08:52:04 +01:00
Thomas Schatzl
3a48e68b1a 8212753: Improve oopDesc::forward_to_atomic
Avoid multiple unnecessary reloads of the mark oop in oopDesc::forward_to_atomic

Reviewed-by: kbarrett, mdoerr
2018-10-24 16:22:34 +02:00
Mandy Chung
5e6d6b8642 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Thomas Schatzl
5b925d80f5 8211853: Avoid additional duplicate work when a reference in the task queue has already been evacuated
Reviewed-by: kbarrett, sjohanss
2018-10-22 11:51:17 +02:00
Paul Hohensee
6beba541cd 8212698: Minor g1 #include changes and memoryService.hpp copyright date update
Fix #includes in g1FullGCOopClosures.inline.hpp, g1HeapVerifier.hpp + memoryService.hpp copyright date

Reviewed-by: tschatzl, jcbeyler
2018-10-19 17:54:21 -04:00
Harold Seigel
794d864feb 7041262: VM_Version should be called instead of Abstract_VM_Version so that overriding works
Change calls to Abstract_VM_Version methods to be calls to VM_Version methods.

Reviewed-by: coleenp, kbarrett, dholmes
2018-10-16 11:08:46 -04:00
Erik Österlund
e39c5811b5 8210330: Make CLD claiming allow multiple claim bits
Reviewed-by: pliden, coleenp
2018-10-16 13:16:11 +02:00
Thomas Schatzl
475df1c06a 8210492: PLAB object promotion events report object sizes in words
Properly scale values passed to the JFR event.

Reviewed-by: phh, jcbeyler
2018-10-16 11:27:21 +02:00
Jiangli Zhou
a2ad8f419f 8206009: Move CDS java heap object archiving code to heapShared.hpp and heapShared.cpp
Restructure and cleanup java heap object archiving code.

Reviewed-by: coleenp, iklam
2018-10-09 15:58:07 -04:00
Poonam Bajaj
3ce24a0442 8211150: G1 Full GC not purging code root memory and hence causing memory leak
Reviewed-by: tschatzl, sjohanss
2018-10-03 19:30:49 +00:00
Coleen Phillimore
7ef28cb2bc 8209645: Split ClassLoaderData and ClassLoaderDataGraph into separate files
Reviewed-by: iklam, stuefe
2018-09-28 16:07:39 -04:00
Leo Korinth
b31408a667 8196341: Add JFR events for parallel phases of G1
Reviewed-by: tschatzl, sangheki
2018-09-21 18:57:18 +02:00
Thomas Schatzl
159a4de4c8 8210557: G1 next bitmap verification at the end of concurrent mark sometimes fails
Removed unnecessary verification that can cause spurious false alarm.

Reviewed-by: sjohanss, kbarrett
2018-09-21 15:11:09 +02:00
Per Lidén
a8703f9803 8210713: Let CollectedHeap::ensure_parsability() take care of TLAB statistics gathering
Reviewed-by: eosterlund, sjohanss
2018-09-19 14:09:11 +02:00
Ioi Lam
1619cbd14b 8210864: Reduce the use of metaspaceShared.hpp
Reviewed-by: coleenp, lfoltan
2018-09-18 21:46:17 -07:00
Thomas Schatzl
7c7a5976d3 8209843: Optimize oop scan closure closures wrt to reference processing in G1
Set more appropriate reference iteration mode for G1 closures.

Reviewed-by: kbarrett, pliden
2018-09-12 11:08:42 +02:00
Thomas Schatzl
a19321464c 8210467: Remove unused G1CollectedHeap::_max_heap_capacity
Reviewed-by: sjohanss, phh
2018-09-11 09:14:36 +02:00
Thomas Schatzl
093c837c85 8210463: Recalculate_used() always sets time taken in G1GCPhaseTimes
Reviewed-by: phh, sjohanss
2018-09-11 09:13:37 +02:00
Thomas Schatzl
db7b4e20e1 8207200: Committed > max memory usage when getting MemoryUsage
Make sure that modification of memory usage variables are synchronized with returning them to Java.

Reviewed-by: sangheki, mchung
2018-09-04 12:18:35 +02:00
Thomas Schatzl
a7d4df53fa 8210265: Crash in HSpaceCounters::update_used()
Guard call to update HSpaceCounters with flag

Reviewed-by: shade, sjohanss, kbarrett
2018-09-04 12:17:23 +02:00
Kim Barrett
75a8e7d4e2 8210119: Rename SubTasksDone::is_task_claimed
Renamed to try_claim_task and inverted result.

Reviewed-by: coleenp, sjohanss
2018-08-30 16:16:19 -04:00
Roman Kennke
296002fe50 8180193: Make marking bitmap code available to other GCs
Reviewed-by: shade, stefank
2018-08-29 20:15:09 +02:00
Kim Barrett
1b02e70184 8072498: Multi-thread JNI weak reference processing
Add parallel processing support to WeakProcessor.

Reviewed-by: tschatzl, sjohanss
2018-08-28 12:57:40 -04:00
Zhengyu Gu
af8a3d61b5 8209841: [REDO] Refactor G1ParallelCleaningTask into shared
Refactored ParallelCleaningTask to share with other GCs

Reviewed-by: tschatzl, shade
2018-08-24 15:49:21 -04:00
Thomas Schatzl
6f880d7f48 8209062: Clean up G1MonitoringSupport
Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
Thomas Schatzl
0d78eb91db 8209061: Move G1 serviceability functionality to G1MonitoringSupport
Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
Thomas Schatzl
5c94ea21e7 8209700: Remove HeapRegionSetBase::RegionSetKind for a more flexible approach
Reviewed-by: kbarrett, phh
2018-08-22 20:37:07 +02:00
Thomas Schatzl
0cad83662a 8209698: Remove "Pinned" from HeapRegionTraceType
Reviewed-by: iklam
2018-08-22 20:37:07 +02:00
Thomas Schatzl
8e264e259d 8208498: Put archive regions into a first-class HeapRegionSet
Maintain archive regions in a HeapRegionSet like other region types.

Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
Thomas Schatzl
2ffded2a4b 8209839: [Backout] Backout JDK-8206467 Refactor G1ParallelCleaningTask into shared
Reviewed-by: zgu
2018-08-22 16:01:29 +02:00
Zhengyu Gu
bd0f1453dc 8206467: Refactor G1ParallelCleaningTask into shared
Refactored and moved G1ParllelCleaningTask to be shared among GCs

Reviewed-by: rkennke, kbarrett
2018-08-21 20:29:57 -04:00