2799 Commits

Author SHA1 Message Date
Rahul Raghavan
da85e43f56 8213416: Replace some enums with static const members in hotspot/compiler
Changes to fix enumeral and non-enumeral type in conditional expression warnings with -Wextra for gcc on hotspot

Reviewed-by: kvn, thartmann
2019-05-28 12:01:52 +05:30
Zhengyu Gu
a7307e2709 8224751: Shenandoah: Shenandoah Verifier should select proper roots according to current GC cycle
Reviewed-by: rkennke
2019-05-27 14:34:58 -04:00
Roman Kennke
625020c0fd 8224836: Backout: JDK-8224626: Shenandoah: Elide barriers on uncommon traps
Reviewed-by: shade
2019-05-27 14:57:26 +02:00
Matthias Baesken
247729cdd7 8224221: add memprotect calls to event log
Reviewed-by: dholmes, mdoerr
2019-05-23 15:15:01 +02:00
Serguei Spitsyn
854b898852 8046018: JVMTI Spec: can_redefine_any_class capability spec is inconsistent
Make the "can_redefine_any_class" capability spec clear and consistent

Reviewed-by: alanb, cjplummer, dholmes, dcubed, jcbeyler
2019-05-24 21:05:19 -07:00
Lutz Schmidt
241c32ca51 8224742: JLONG_FORMAT_W incompatible with type jlong
Reviewed-by: thartmann, clanger
2019-05-24 15:36:48 +02:00
Zhengyu Gu
deaba32229 8224115: Shenandoah: Eliminate RWLock that protects recorded nmethod data array
Reviewed-by: shade
2019-05-22 21:24:09 -04:00
Zhengyu Gu
96c9fcf22f 8224679: Shenandoah: Make ShenandoahParallelCodeCacheIterator noncopyable
Reviewed-by: rkennke, shade
2019-05-24 09:23:58 -04:00
Aleksey Shipilev
6b0d17744b 8224652: 32-bit build failures after JDK-8213084
Reviewed-by: thartmann, shade
2019-05-23 18:50:48 +02:00
Thomas Stuefe
a46a6bcfeb 8220394: bufferedStream does not honor size limit
Reviewed-by: dholmes, clanger
2019-05-24 09:02:33 +02:00
Roman Kennke
56359d42b1 8224667: Shenandoah: Post-LRB cleanup
Reviewed-by: shade
2019-05-23 17:01:38 +02:00
Roman Kennke
dc783cb6ec 8224626: Shenandoah: Elide barriers on uncommon traps
Reviewed-by: roland, shade
2019-05-23 12:12:04 +02:00
Robbin Ehn
9baafa55a6 8221734: Deoptimize with handshakes
Reviewed-by: dcubed, dholmes, pchilanomate, dlong, coleenp
2019-05-23 10:13:29 +02:00
Tobias Hartmann
4ea77d3e78 8223581: C2 compilation failed with assert(!q->is_MergeMem())
Aggressively remove MergeMems feeding into other MergeMems during incremental inlining.

Reviewed-by: vlivanov
2019-05-23 09:46:49 +02:00
Tobias Hartmann
abe90da665 8224539: C2 compilation fails during ArrayCopyNode optimizations with assert(i < _max) failed: oob: i=1, _max=1
Bail out if src_offset or dst_offset is top.

Reviewed-by: roland, vlivanov, kvn
2019-05-23 08:57:37 +02:00
Per Lidén
868ab3044f 8224185: ZGC: Introduce "High Usage" rule
Reviewed-by: eosterlund
2019-05-23 08:09:29 +02:00
Henry Jen
f30500c679 8215156: Deprecate the -Xfuture option
Reviewed-by: dholmes
2019-05-22 21:45:47 -07:00
Aleksey Shipilev
22dfc6db04 8224522: Shenandoah should apply barriers on deoptimization
Reviewed-by: rkennke, zgu
2019-05-22 21:40:58 +02:00
Ao Qi
daeec1c7d1 8224568: minimal and zero build fails after JDK-8213084
Reviewed-by: shade, lucy
2019-05-23 00:21:39 +08:00
Dmitrij Pochepko
c21fc9448d 8218966: AArch64: String.compareTo() can read memory after string
Reviewed-by: dsamersoff
2019-05-22 20:39:04 +03:00
Dmitrij Pochepko
d83c89b805 8215792: AArch64: String.indexOf generates incorrect result
Reviewed-by: dsamersoff
2019-05-22 20:12:19 +03:00
Zhengyu Gu
23b2871246 8224525: Shenandoah: Eliminate shenandoah verifier's side-effects
Reviewed-by: shade, rkennke
2019-05-22 09:10:07 -04:00
Stefan Karlsson
4914e0ee95 8224203: Remove need to specify type when using FLAG_SET macros
Reviewed-by: rehn, pliden, coleenp
2019-05-22 13:06:31 +02:00
Stefan Karlsson
c9846fce19 8224201: Simplify JVM flag macro expansions
Reviewed-by: rehn, kvn, stuefe, tschatzl, coleenp, gziemski
2019-05-22 13:05:37 +02:00
Zhengyu Gu
6beb19a361 8224508: Shenandoah: Need to update thread roots in final mark for piggyback ref update cycle
Reviewed-by: shade, rkennke
2019-05-22 07:12:18 -04:00
Stuart Monteith
12b2a50bb2 8224187: Refactor arraycopy_prologue to allow ZGC read barriers on arraycopy
Reviewed-by: eosterlund
2019-05-22 06:29:08 -04:00
Thomas Schatzl
8c6727240e 8224160: Move G1RemSetScanClosure into g1RemSet.cpp file
Reviewed-by: kbarrett, sangheki
2019-05-22 11:19:14 +02:00
Ao Qi
6d1a702a58 8224579: ResourceMark not declared in shenandoahRootProcessor.inline.hpp with --disable-precompiled-headers
Reviewed-by: shade
2019-05-22 10:48:46 +02:00
Christoph Langer
d569450943 8224573: Fix windows build after JDK-8221507
Reviewed-by: shade, stuefe
2019-05-22 08:42:00 +01:00
Thomas Stuefe
7a0ac25b37 8224193: stringStream should not use Resouce Area
Reviewed-by: goetz, coleenp, dholmes
2019-05-22 09:33:22 +02:00
Thomas Stuefe
2257bae7a2 8224487: outputStream should not be copyable
Reviewed-by: kbarrett, coleenp
2019-05-22 07:10:54 +02:00
Kim Barrett
54d0b2a8d6 8224167: Refactor PtrQueue completed buffer processing
Add handle_completed_buffer and refactor.

Reviewed-by: tschatzl, shade
2019-05-21 19:19:44 -04:00
Markus Grönlund
0b9afd7a5a 8220293: Deadlock in JFR string pool
Reviewed-by: rehn, egahlin
2019-05-21 20:53:27 +02:00
Zhengyu Gu
55ba58b1c8 8224495: Shenandoah: Do not rescan code roots in final mark pause if it is not degenerated GC
Reviewed-by: shade
2019-05-21 13:06:52 -04:00
Coleen Phillimore
168e5cbf66 8224119: Safepoint cleanup logging logs times for things it doesn't do
Test condition before reporting times for cleanup actions.

Reviewed-by: rehn, hseigel
2019-05-21 09:53:16 -04:00
Lutz Schmidt
b730805159 8213084: Rework and enhance Print[Opto]Assembly output
Reviewed-by: kvn, thartmann
2019-05-21 15:51:35 +02:00
Martin Doerr
6b2615be6a 8224230: [PPC64, s390] Support AsyncGetCallTrace
Reviewed-by: goetz, jcbeyler, sspitsyn
2019-05-21 11:45:37 +02:00
Robbin Ehn
0171fba9b8 8223313: Use handshakes for CountStackFrames
Reviewed-by: dholmes, rrich, dcubed
2019-05-21 10:46:08 +02:00
Ken Dobson
8cab46d6ca 8221507: Implement JFR Events for Shenandoah
Reviewed-by: rkennke, shade, egahlin, mseledtsov
2019-05-21 10:36:23 +02:00
Robbin Ehn
1645161cad 8223306: Remove threads linked list (use ThreadsList's array in SA)
Reviewed-by: coleenp, dholmes, dcubed
2019-05-21 10:34:57 +02:00
Lutz Schmidt
aa720e27c5 8223444: Improve CodeHeap Free Space Management
Reviewed-by: kvn, thartmann
2019-05-20 17:44:29 +02:00
Coleen Phillimore
e47584d00d 8221967: InternTest.java timed out
Move redundant table lookup and make rehashing be a needed guaranteed safepoint cleanup action.

Reviewed-by: dholmes, rehn
2019-05-20 10:06:07 -04:00
Zhengyu Gu
b08841af0d 8224179: Shenandoah: CTW test failures with traversal GC
Reviewed-by: shade
2019-05-20 09:43:46 -04:00
Zhengyu Gu
18a59944ef 8224210: Shenandoah: Refactor ShenandoahRootScanner to support scanning CSet codecache roots
Reviewed-by: shade
2019-05-20 09:42:37 -04:00
Thomas Schatzl
4b086a28a5 8222492: G1 unnecessarily scans remembered set cards for regions that already have been evacuated
Filter out cards from the current collection set during evacuation increments.

Reviewed-by: kbarrett, sangheki
2019-05-18 22:11:25 +02:00
Aleksey Shipilev
65d4cabd51 8224170: Build failures after JDK-8207812 (Implement Dynamic CDS Archive)
Reviewed-by: stuefe, kvn
2019-05-18 18:49:39 +02:00
Zhengyu Gu
092bb9e108 8223951: Shenandoah: Only need to update thread roots during final update refs
Reviewed-by: shade
2019-05-17 11:47:06 -04:00
Calvin Cheung
72dc5721e0 8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Zhengyu Gu
3ebc657e40 8223774: Shenandoah: Refactor ShenandoahRootProcessor and family
Reviewed-by: shade, rkennke
2019-05-17 09:52:35 -04:00
Thomas Schatzl
0a6207fe69 8224038: Fix remaining InCSetState mentions
Reviewed-by: kbarrett
2019-05-17 12:33:37 +02:00