856 Commits

Author SHA1 Message Date
Zhengyu Gu
8e1bb92b09 8223258: Shenandoah: SRP::process_all_roots_slow processes JvmtiExport weak oops twice
Reviewed-by: rkennke
2019-05-02 15:20:06 -04:00
Zhengyu Gu
7c54f240ba 8222992: Shenandoah: Pre-evacuate all roots
Reviewed-by: shade
2019-05-02 09:49:52 -04:00
Stefan Karlsson
087c03a0c7 8198505: Remove CollectorPolicy and its subclasses
Reviewed-by: pliden, shade
2019-04-15 11:47:46 +02:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Zhengyu Gu
142c9b4907 8223184: Shenandoah: Missing roots in SRP::process_all_roots_slow
Reviewed-by: shade
2019-05-01 10:12:51 -04:00
Coleen Phillimore
6fb8502b77 8074355: make MutexLocker smarter about non-JavaThreads
Use safepoint_check_always/safepoint_check_never instead of safepoint_check_sometimes for locks that are taken by JavaThreads and non-JavaThreads

Reviewed-by: dholmes, rehn, dcubed, lmesnik
2019-05-01 08:56:38 -04:00
Jean Christophe Beyler
4b6adaa5f1 8215113: Sampling interval not always correct
Fix the sampling interval

Reviewed-by: phh, sspitsyn
2019-04-30 15:39:42 -07:00
Coleen Phillimore
ccb2e9d925 8222988: Use MonitorLocker rather than MutexLocker when wait/notify used
Fixed use cases in code except CMS.

Reviewed-by: rehn, dcubed
2019-04-29 16:01:52 -04:00
Per Lidén
bb5c98fe7a 8223016: ZGC: Fix misaligned statistics printout
Reviewed-by: tschatzl
2019-04-26 12:05:34 +02:00
Coleen Phillimore
508601bd9f 8222977: Fix shenandoah broken with JDK-8222811
Reviewed-by: dcubed, shade
2019-04-25 12:33:19 -04:00
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Per Lidén
80240eb399 8222469: ZGC: Generalize ZPageCache::flush()
Reviewed-by: stefank
2019-04-25 08:55:50 +02:00
Per Lidén
86808b9d47 8221786: ZGC: Increase max heap size to 16TB
Reviewed-by: stefank
2019-04-25 08:55:50 +02:00
Per Lidén
2accc59e60 8222462: Introduce CollectedHeap::unused()
Reviewed-by: stefank, eosterlund
2019-04-25 08:55:49 +02:00
Per Lidén
72491e961c 8222664: runtime/appcds/sharedStrings/SharedStringsStress.java assert GC active during NoGCVerifier
Reviewed-by: iklam, stefank
2019-04-25 08:55:49 +02:00
Aleksey Shipilev
b440ac2586 8222838: Shenandoah: SEGV on accessing cset bitmap for NULL ptr
Reviewed-by: rkennke
2019-04-24 11:40:04 +02:00
Aleksey Shipilev
6af2184d4b 8222843: Print Shenandoah cset map addresses in hs_err
Reviewed-by: rkennke
2019-04-24 11:39:56 +02:00
Aleksey Shipilev
43b4c3732a 8222786: Shenandoah get_barrier_strength should accept all shapes of (Weak)CAS reference barriers
Reviewed-by: rkennke
2019-04-22 11:16:21 +02:00
Erik Österlund
dce0c5c4ae 8219718: ZGC: Make nmethod entry barriers and nmethod::is_unloading use ZNMethodDataOops
Reviewed-by: pliden, stefank
2019-04-17 12:41:33 +02:00
Zhengyu Gu
826c03330b 8222425: Shenandoah: Move commonly used closures to separate files
Reviewed-by: shade
2019-04-15 13:07:06 -04:00
Zhengyu Gu
a652f593f2 8222490: Shenandoah: Remove unused _par_state_string in ShenandoahRootEvacuator
Reviewed-by: shade
2019-04-15 12:54:12 -04:00
Zhengyu Gu
f37ec83209 8222419: Shenandoah: Remove unused _par_state_string in ShenandoahRootProcessor
Reviewed-by: rkennke
2019-04-12 16:30:19 -04:00
Zhengyu Gu
dcc0a38e8a 8222403: Shenandoah: Remove ShenandoahAlwaysTrueClosure, use AlwaysTrueClosure instead
Reviewed-by: shade
2019-04-12 09:55:30 -04:00
Zhengyu Gu
96545959e8 8222188: Shenandoah: Adjust Shenandoah work gang types
Reviewed-by: shade, rkennke
2019-04-12 07:51:47 -04:00
Ao Qi
06e17e05a2 8222333: fastdebug build broken after JDK-8221393 (phase_mapping[] doesn't match enum Phase in WeakProcessorPhases)
Reviewed-by: zgu, shade
2019-04-11 19:09:45 +02:00
Stefan Karlsson
23f02171c8 8221393: ResolvedMethodTable too small for StackWalking applications
Reviewed-by: coleenp, rehn
2019-04-10 15:41:04 +02:00
Roman Kennke
ebe0ef5ee8 8222259: Shenandoah: Pre-evacuate string-dedup roots in Traversal GC
Reviewed-by: shade
2019-04-10 13:21:38 +02:00
Per Lidén
3a2343d9e6 8221984: ZGC: Clean up ZOop
Reviewed-by: stefank, eosterlund
2019-04-10 12:45:32 +02:00
Stuart Monteith
91c90755b5 8222180: ZGC: ZForwarding::verify() failing when checking for duplicates
Reviewed-by: pliden, eosterlund
2019-04-09 12:47:34 +02:00
Claes Redestad
89a267ca46 8221836: Avoid recalculating String.hash when zero
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jrose, adinn
2019-04-10 12:05:50 +02:00
Roman Kennke
990b45b149 8222227: Shenandoah: Fix Traversal GC weak roots handling in final-traversal pause
Reviewed-by: shade, zgu
2019-04-09 23:36:43 +02:00
Aleksey Shipilev
321615029c 8222186: Shenandoah should not uncommit below minimum heap size
Reviewed-by: zgu, rkennke
2019-04-09 21:20:16 +02:00
Aleksey Shipilev
6453df40be 8222185: Shenandoah should report "committed" as capacity
Reviewed-by: zgu, rkennke
2019-04-09 21:20:15 +02:00
Sangheon Kim
bb31c7d085 8218049: Survivor MemoryMXBean used() size granularity is region based
Reviewed-by: tschatzl, kbarrett
2019-04-08 12:15:40 -07:00
Thomas Schatzl
f6116c5498 8222105: Add "use_" prefix to G1Policy::adaptive_young_list_length
Improve naming of G1Policy::adaptive_young_list_length to improve readability.

Reviewed-by: kbarrett
2019-04-08 21:01:17 +02:00
Thomas Schatzl
884545e54f 8218668: Clean up evacuation of optional collection set
Better integrate optional collection set evacuation into the existing evacuation scheme, fixing a few minor issues with the initial implementation.

Reviewed-by: kbarrett, sangheki
2019-04-08 20:37:52 +02:00
Aleksey Shipilev
3592b7ea78 8222130: Shenandoah should verify roots after pre-evacuation
Reviewed-by: rkennke, zgu
2019-04-08 19:43:04 +02:00
Roman Kennke
7a26e84e4f 8222129: Shenandoah: Missing CompareAndSwapP/N case in get_barrier_strength()
Reviewed-by: shade
2019-04-08 18:42:29 +02:00
Roman Kennke
d2ac25420e 8222125: Shenandoah: Crash when running with ShenandoahParallelSafepointThreads=1
Reviewed-by: shade
2019-04-08 18:42:27 +02:00
Roman Kennke
6292ecd39b 8221848: Shenandoah: ArrayCopy post-barrier improvements
Reviewed-by: zgu
2019-04-04 21:29:46 +02:00
Roman Kennke
03ab1404f0 8221766: Load-reference barriers for Shenandoah
Reviewed-by: kvn, erikj, aph, shade
2019-04-02 23:00:22 +02:00
Roman Kennke
004b3ee748 8220664: Simplify ShenandoahUpdateHeapRefsClosure
Reviewed-by: shade
2019-03-27 22:25:03 +01:00
Zhengyu Gu
6881a91868 8220602: Shenandoah-SA: Enable best-effort implementation of heap walk
Reviewed-by: rkennke, cjplummer
2019-03-14 09:53:15 -04:00
Kim Barrett
e7e00f7ae0 8221102: Allow GC threads to participate in threads claiming protocol
Expand claim counter from 1bit to uintx, with rare overflow handling.

Reviewed-by: tschatzl, rkennke
2019-04-02 13:08:38 -04:00
Roman Kennke
9acdfbd5b7 8221751: Shenandoah: Improve SATB enqueueing
Reviewed-by: shade
2019-04-02 18:13:42 +02:00
Per Lidén
a5cec7fe04 8221732: Introduce CollectedHeap::hash_oop()
Reviewed-by: kbarrett, tschatzl, stefank
2019-04-02 10:04:25 +02:00
Per Lidén
a7dd794beb 8221648: Remove CollectedHeap::is_in_closed_subset()
Reviewed-by: kbarrett, tschatzl
2019-04-02 10:04:25 +02:00
Sangheon Kim
4494be3b5f 8221517: G1: Reserved page size for heap can be wrong
Reviewed-by: tschatzl, kbarrett
2019-04-01 14:54:48 -07:00
Kim Barrett
757e6ecfec 8220671: Initialization race for non-JavaThread PtrQueues
Include on_thread_(attach|detach) under NJTList_lock.

Reviewed-by: pliden, rkennke
2019-04-01 17:11:38 -04:00
Stefan Karlsson
cb58cddccb 8221558: Remove obsolete uses of OopStorage::ParState<'false, false> _par_state
Reviewed-by: pliden, tschatzl
2019-04-01 18:36:12 +02:00