74 Commits

Author SHA1 Message Date
Martin Doerr
d7e6bad25c 8193257: PPC64, s390 implementation for Thread-local handshakes
Reviewed-by: goetz, lucy
2017-12-14 13:05:20 +01:00
Lutz Schmidt
3f59dac0b3 8193443: [s390]: EncodeISOArray generates wrong vector code
Reviewed-by: goetz, mdoerr
2017-12-14 12:02:16 +01:00
Jesper Wilhelmsson
7c3a956755 Merge 2017-12-07 10:18:31 +01:00
Dean Long
f390377be2 8193009: compiler/c2/Test7029152.java crashes with SIGILL in java.lang.StringLatin1.indexOf with -XX:+UseJVMCICompiler
Reviewed-by: iveresov, kvn
2017-12-06 18:37:57 -08:00
Razvan A Lupusoru
b96c85c640 8192846: Support cmov vectorization for float
Reviewed-by: kvn
2017-12-05 09:49:23 -08:00
Dean Long
29aabe9c05 8193009: compiler/c2/Test7029152.java crashes with SIGILL in java.lang.StringLatin1.indexOf with -XX:+UseJVMCICompiler
Reviewed-by: iveresov, kvn
2017-12-06 18:37:57 -08:00
Jesper Wilhelmsson
e77f4f9c55 Merge 2017-12-02 06:51:10 +01:00
Vivek Deshpande
1172328edf 8170244: Update UseAVX after cpu feature detection to use more default mapping
Reviewed-by: kvn
2017-12-01 16:58:30 -08:00
Vivek Deshpande
b4ef56fd28 8190494: Different results with UseAVX=3 when calling AVX-512 native function via JNI
Reset mask register after JNI calls

Reviewed-by: kvn, vlivanov
2017-12-01 16:23:17 -08:00
Martin Doerr
1fd81dac32 8192825: PPC64: Missing null check in C1 inline cache check
Reviewed-by: goetz
2017-12-01 17:10:33 +01:00
Lutz Schmidt
d8284abf49 8192818: [s390]: restoring register contents calculates wrong value
Reviewed-by: goetz, mdoerr
2017-12-01 17:09:43 +01:00
Boris Ulasevich
f4b397b4ba 8189439: Parameters type profiling is not performed from aarch64 interpreter
Reviewed-by: vlivanov
2017-12-01 18:24:52 +03:00
Dmitry Chuyko
d24ef2f18f 8191129: AARCH64: Invalid value passed to critical JNI function
Reviewed-by: vlivanov
2017-12-01 18:20:00 +03:00
Dean Long
15ea766de2 8191437: AOT doesn't work easily after thread local handshakes
Reviewed-by: kvn, rehn, aph
2017-11-30 10:40:48 -08:00
Patric Hedlin
bece28d6cc 8191232: compiler/intrinsics/bigInteger/TestMultiplyToLen.java fails with java.lang.Exception: Failed
Generating the wrong insn for pointer comparison in intrinsic (on SPARC).

Reviewed-by: neliasso, kvn
2017-11-30 15:54:45 +01:00
Dmitry Chuyko
c5df44a4ce 8188221: Return type profiling is not performed from aarch64 interpreter
Reviewed-by: drwhite
2017-11-29 14:34:19 +03:00
Volker Simonis
800d7ffc3e 8191863: [s390] Fix CDS: some bytecode rewriting doesn't depend on RewriteControl
Reviewed-by: mdoerr, goetz, jiangli
2017-11-28 14:20:15 +01:00
Volker Simonis
6d566ccf62 8191770: [ppc64] Fix CDS: don't rewrite invokefinal if DumpSharedSpaces
Reviewed-by: mdoerr, jiangli
2017-11-28 14:11:43 +01:00
Dmitry Chuyko
a43a8363ff 8191769: AARCH64: Fix hint instructions encoding
Reviewed-by: adinn
2017-11-28 15:42:15 +03:00
Ningsheng Jian
c107fb7b74 8191955: AArch64: incorrect prefetch distance causes an internal error
Fixed incorrect prefetch distance on AArch64.

Reviewed-by: aph
2017-12-04 09:59:33 +01:00
Dean Long
fb89c1729c 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
Reviewed-by: vlivanov, dpochepk
2017-11-21 09:04:42 -08:00
Stuart Monteith
cdf8de893e 8191338: aarch64: fails to build after 8189745
Reviewed-by: aph, drwhite, dchuyko
2017-11-20 09:46:55 +00:00
Dmitry Chuyko
768e1121de 8189177: AARCH64: Improve _updateBytesCRC32C intrinsic
Reviewed-by: drwhite, dsamersoff
2017-11-17 20:56:14 +03:00
John Paul Adrian Glaubitz
09dca4ba54 8191333: Zero variant broken after 8189941
Reviewed-by: rehn, coleenp
2017-11-15 16:03:56 +01:00
Robbin Ehn
104ecb2dd1 8189941: Implementation JEP 312: Thread-local handshake
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.

Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: mdoerr, neliasso, acorn, aph, coleenp, dholmes
2017-08-31 10:00:28 +02:00
Gilles Duboscq
a908316a65 8182755: [JVMCI] Deoptimization in synchronized methods can lead to a crash or exception when using EnableJVMCI but not UseJVMCICompiler
Reviewed-by: kvn, thartmann
2017-11-10 14:57:38 +01:00
Robbin Ehn
f6750599ef 8187809: UseMembar should be set true and deprecate the flag
Reviewed-by: dcubed, sspitsyn, dholmes
2017-11-10 09:16:42 +01:00
Paul Sandoz
483ab7638e 8190887: Stub code marking missing from some x86 generated stub routines
Reviewed-by: kvn
2017-11-08 12:08:23 -08:00
Jamsheed Mohammed C M
10a1edcc22 8152470: Add COMPILER2_OR_JVMCI definition
Defined(COMPILER2) || INCLUDE_JVMCI changed replaced with COMPILER2_OR_JVMCI

Reviewed-by: kvn
2017-11-06 21:28:03 -08:00
Martin Doerr
614fca959b 8190781: ppc64 + s390: Fix CriticalJNINatives
Reviewed-by: goetz
2017-11-06 17:56:29 +01:00
Jamsheed Mohammed C M
34deb9cc2a 8167409: Invalid value passed to critical JNI function
The tmp  reg used to break the shuffling cycle (handled in ComputeMoveOrder) is set to 64 bit.

Reviewed-by: dlong
2017-11-06 04:14:22 -08:00
Dmitry Chuyko
168565de20 8190745: AARCH64: fix for JDK-8189176 may break a build
Add missed semicolon

Reviewed-by: dsamersoff
2017-11-06 00:29:08 +03:00
Dmitry Chuyko
e878b3272b 8189176: AARCH64: Improve _updateBytesCRC32 intrinsic
Reviewed-by: aph
2017-11-02 18:44:44 +03:00
Dmitry Chuyko
ca70374a3d 8189745: AARCH64: Use CRC32C intrinsic code in interpreter and C1
Reviewed-by: aph
2017-11-01 16:48:12 +03:00
Coleen Phillimore
e908052a71 8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
Removed hotspot version of jvm*h and jni*h files.

Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04:00
Martin Doerr
43ac55ed1c 8190285: s390: Some java boolean checks are not correct
Reviewed-by: lucy, coleenp
2017-10-30 17:14:39 +01:00
Igor Veresov
548d5d4d9d 8166750: C1 profiling handles statically bindable call sites differently than the interpreter
Optimize profiling of statically binable call sites. Add monomorphic profile fixup to JVMCI MDO API.

Reviewed-by: dnsimon, kvn
2017-10-25 16:30:31 -07:00
Jamsheed Mohammed C M
dc50d0a8b2 8168712: [AOT] assert(false) failed: DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_base: last_sp != NULL
Skip the assert for this specific case, as it is not an issue.

Reviewed-by: coleenp, dlong, kvn
2017-10-24 06:06:56 -07:00
Volker Simonis
a5d5806cb4 8166317: InterpreterCodeSize should be computed
Reviewed-by: kvn, coleenp
2017-09-04 19:50:01 +02:00
Roman Kennke
7030019135 8171853: Remove Shark compiler
Reviewed-by: dholmes, kvn, erikj, ihse
2017-10-15 22:54:03 +02:00
Roman Kennke
c496c05376 8184914: Use MacroAssembler::cmpoop() consistently when comparing heap objects
Reviewed-by: coleenp
2017-10-23 09:33:14 -04:00
Lutz Schmidt
0d6c0adef0 8189616: [s390] Remove definition and all uses of STCK instruction
Reviewed-by: mdoerr
2017-10-23 11:56:30 +02:00
Magnus Ihse Bursie
da4336daaf Merge 2017-10-19 14:15:06 +02:00
Magnus Ihse Bursie
7c78b40f8d 8189608: Remove duplicated jni.h
Reviewed-by: erikj, dholmes, coleenp
2017-10-19 11:59:52 +02:00
Erik Österlund
29eea5d4a1 8189355: Cleanup of BarrierSet barrier functions
Reviewed-by: shade, kbarrett, pliden, rkennke
2017-10-19 11:25:55 +02:00
Coleen Phillimore
39b068db11 8188220: Remove Atomic::*_ptr() uses and overloads from hotspot
With the new template functions these are unnecessary.

Reviewed-by: kbarrett, dholmes, eosterlund
2017-10-16 22:36:06 -04:00
Dean Long
9d33d6f6bb 8189244: x86: eliminate frame::adjust_unextended_sp() overhead
Reviewed-by: kvn
2017-10-13 12:29:45 -07:00
Martin Doerr
21ee7f4b2a 8188868: PPC64: Support AES intrinsics on Big Endian
Reviewed-by: goetz
2017-10-09 13:56:59 +02:00
Lutz Schmidt
ccbba3fe48 8188857: [s390]: CPU feature detection incomplete
Reviewed-by: mdoerr
2017-10-09 11:51:20 +02:00
Lutz Schmidt
75a4bdf218 8187964: [s390][ppc]: Intrinsify Math.multiplyHigh(long, long)
Reviewed-by: mdoerr
2017-10-09 11:43:42 +02:00