317 Commits

Author SHA1 Message Date
Stefan Karlsson
161333eeba 8234748: Clean up atomic and orderAccess includes
Reviewed-by: dholmes
2019-11-26 10:47:46 +01:00
Zhengyu Gu
7f3ef14d5b 8230765: Implement nmethod barrier for x86_32 platforms
Reviewed-by: rkennke, eosterlund
2019-09-09 11:43:16 -04:00
Zhengyu Gu
598ec40995 8233500: Shenandoah: Shenandoah load barrier should save registers before calling keep alive barrier on x86
Reviewed-by: rkennke
2019-11-26 14:33:56 -05:00
Sandhya Viswanathan
73d9d8567d 8234610: MaxVectorSize set wrongly when UseAVX=3 is specified after JDK-8221092
Reviewed-by: kvn, vlivanov
2019-11-26 19:19:39 +03:00
Jatin Bhateja
fb0b8f1d0c 8234387: C2: Better support of operands with multiple match rules in AD files
Reviewed-by: vlivanov, sviswanathan, thartmann, dlong
2019-11-26 16:09:23 +03:00
Stefan Karlsson
3d426623bf 8234739: Harmonize parameter order in Atomic - xchg
Reviewed-by: rehn, dholmes
2019-11-25 12:32:40 +01:00
Stefan Karlsson
d45ec50076 8234737: Harmonize parameter order in Atomic - add
Reviewed-by: rehn, dholmes
2019-11-25 12:31:39 +01:00
Thomas Schatzl
9915f88688 8233702: Introduce helper function to clamp value to range
Reviewed-by: sjohanss, kbarrett
2019-11-22 10:03:38 +01:00
Daniel D. Daugherty
b10495d436 8230876: baseline cleanups from Async Monitor Deflation v2.0[789]
Reviewed-by: dholmes, kvn
2019-11-20 09:10:02 -05:00
Lutz Schmidt
91b7fd7659 8233787: Break cycle in vm_version* includes
Reviewed-by: kbarrett, mdoerr
2019-11-18 17:11:06 +01:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Bernard Blaser
b8b88853a5 8214239: Missing x86_64.ad patterns for clearing and setting long vector bits
Reviewed-by: kvn, vlivanov, jrose, sviswanathan
2019-11-13 11:21:15 +01:00
Zhengyu Gu
3672c05476 8233339: Shenandoah: Centralize load barrier decisions into ShenandoahBarrierSet
Reviewed-by: rkennke
2019-11-08 09:50:07 -05:00
Smita Kamath
a6649eb089 8233741: AES Countermode (AES-CTR) optimization using AVX512 + VAES instructions
Co-authored-by: Regev Shemy <regev.shemy@intel.com>
Co-authored-by: Shay Gueron <shay.gueron@intel.com>
Reviewed-by: kvn
2019-11-07 17:47:22 -08:00
Zhengyu Gu
476cfd1547 8233401: Shenandoah: Refactor/cleanup Shenandoah load barrier code
Reviewed-by: aph, shade, rkennke
2019-11-06 09:50:53 -05:00
Martin Doerr
c15dfbfd60 8233081: C1: PatchingStub for field access copies too much
Reviewed-by: thartmann, dlong
2019-11-05 11:53:46 +01:00
Thomas Stuefe
13cc1154f0 8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit
Reviewed-by: mdoerr, dlong, aph
2019-10-31 07:53:16 +01:00
Zhengyu Gu
f906a432e9 8232992: Shenandoah: Implement self-fixing interpreter LRB
Reviewed-by: shade
2019-10-28 11:33:28 -04:00
Aleksey Shipilev
d157ebb41c 8222766: Shenandoah: streamline post-LRB CAS barrier (x86)
Reviewed-by: rkennke
2019-09-30 22:39:11 +02:00
Per Lidén
a8c4e6786d 8231552: ZGC: Refine address space reservation
Reviewed-by: eosterlund, stefank
2019-10-24 17:24:58 +02:00
Zhengyu Gu
0f822d90d1 8232010: Shenandoah: implement self-fixing native barrier
Reviewed-by: rkennke
2019-10-18 13:07:46 -04:00
Yasumasa Suenaga
11fbd78f27 8232084: HotSpot build failed with GCC 9.2.1
Reviewed-by: sspitsyn, cjplummer, dholmes, iklam
2019-10-18 09:57:20 +09:00
Martin Doerr
79c1634258 8232106: [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it
Reviewed-by: kvn, thartmann
2019-10-16 11:52:56 +02:00
Zhengyu Gu
0046f1ea4f 8229919: Support JNI Critical functions in object pinning API on x86_32 platforms
Reviewed-by: rkennke, adinn
2019-10-15 22:22:23 -04:00
Henry Jen
8d141f1048 Merge 2019-10-14 21:01:25 +00:00
Jie Fu
179aab2fe2 8232151: Minimal VM build broken after JDK-8232050
Reviewed-by: dholmes, clanger
2019-10-11 17:49:25 +08:00
Claes Redestad
88d28a2bf9 8232050: Improve inlining of Klass accessors
Reviewed-by: lfoltan, tschatzl, coleenp, dholmes, jiangli
2019-10-10 13:26:22 +02:00
Christian Hagedorn
9751b5669a 8231720: Some perf regressions after 8225653
Fixed emitting of unused assembly code in 8225653​ which had a negative impact on performance in tight loops.

Reviewed-by: kvn, thartmann
2019-10-10 10:27:12 +02:00
Erik Österlund
42885307f6 8230565: ZGC: Redesign C2 load barrier to expand on the MachNode level
Co-authored-by: Per Liden <per.liden@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: pliden, stefank, neliasso
2019-10-09 12:30:06 +00:00
Coleen Phillimore
2f4bd6db09 8225681: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine fails due a) MT-unsafe modification of inline cache
Allow old methods in CompiledStaticDirectCall::set_to_interpreted

Reviewed-by: sspitsyn, eosterlund
2019-10-08 13:18:40 -04:00
Per Lidén
0009f8a51f 8231825: ZGC: Remove ZMaxHeapSize and ZMaxHeapSizeShift
Reviewed-by: tschatzl, eosterlund
2019-10-07 07:53:38 +02:00
Vivek Deshpande
dce5f5dbc8 8221092: UseAVX=3 has performance degredation on Skylake (X7) processors
Fix for UseAVX=3 has performance degredation on Skylake (X7) processors

Reviewed-by: kvn
2019-10-04 11:45:16 -07:00
Per Lidén
022c87228b 8231776: ZGC: Fix incorrect address space description
Reviewed-by: eosterlund
2019-10-03 10:56:39 +02:00
Stefan Karlsson
3b181e51b1 8231563: ZGC: Fails to warn when user sets the max heap size to larger than 16TB
Reviewed-by: tschatzl, pliden
2019-09-27 09:01:39 +02:00
Aleksey Shipilev
3d4da79186 8231713: x86_32 build failures after JDK-8226721 (Missing intrinsics for Math.ceil, floor, rint)
Reviewed-by: kvn
2019-10-03 07:38:00 +02:00
Jatin Bhateja
d3ca3a02ff 8226721: Missing intrinsics for Math.ceil, floor, rint
Reviewed-by: neliasso, vlivanov, ecaspole
2019-10-01 11:43:10 +02:00
Aleksey Shipilev
8a50aa7d21 8231583: Shenandoah: Fix register clash in SBSA::resolve_forwarding_pointer() borrowing
Reviewed-by: rkennke
2019-09-30 18:02:24 +02:00
Per Lidén
f740058c3d 8231270: ZGC: Remove ZAddressSpace* and ZAddressReserved*
Reviewed-by: stefank, eosterlund
2019-09-24 17:08:19 +02:00
Lois Foltan
0c507f3180 8230505: Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type
Consistently use is_reference_type when comparing type for T_OBJECT or T_ARRAY.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dlong, coleenp, hseigel
2019-09-23 14:49:04 -04:00
Zhengyu Gu
c080a4a4d5 8231250: Shenandoah: Traversal GC should keep alive weak load from heap
Reviewed-by: rkennke
2019-09-23 14:39:11 -04:00
Roman Kennke
9516e6d2fd 8231087: Shenandoah: Self-fixing load reference barriers for C1/C2
Reviewed-by: shade
2019-09-18 20:56:20 +02:00
Roman Kennke
9510e7fe5d 8231086: Shenandoah: Stronger invariant for object-arraycopy
Reviewed-by: shade
2019-09-18 20:56:19 +02:00
Christian Hagedorn
9c145fa1cd 8230762: Change MacroAssembler::debug32/64 to use fatal instead of assert
Always call fatal from debug32/64 to also crash in product build as a follow-up to JDK-8225653.

Reviewed-by: roland, thartmann
2019-09-12 12:12:26 +02:00
David Holmes
99252bd9d6 8230423: Move os::sleep to JavaThread::sleep
Reviewed-by: rehn, dcubed
2019-09-11 22:09:05 -04:00
Christian Hagedorn
2c3973af9b 8225653: Provide more information when hitting SIGILL from HaltNode
Add information string for each HaltNode which is printed if hit at runtime.

Reviewed-by: vlivanov, thartmann
2019-09-10 08:43:33 +02:00
David Holmes
394d6ac55b 8230422: Convert uninterruptible os::sleep calls to os::naked_short_sleep
Reviewed-by: kbarrett, dcubed, shade
2019-09-07 18:48:57 -04:00
Aleksey Shipilev
c417c473a4 8230671: x86_32 build failures after JDK-8229496
Reviewed-by: thartmann
2019-09-06 09:26:23 +02:00
Tobias Hartmann
a4b46ccc23 8229496: SIGFPE (division by zero) in C2 OSR compiled method
Adding a CastNode to keep the dependency between the div/mod operation and the zero check.

Reviewed-by: roland, mdoerr
2019-09-05 13:56:17 +02:00
Erik Österlund
f869706f5f 8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
Reviewed-by: stefank, coleenp
2019-09-05 08:26:49 +02:00
Martin Doerr
e77e5da785 8229422: Taskqueue: Outdated selection of weak memory model platforms
Reviewed-by: tschatzl, dholmes, drwhite
2019-08-12 19:20:12 +02:00