37 Commits

Author SHA1 Message Date
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Jesper Wilhelmsson
fb8bca78ee Merge 2018-01-05 22:02:20 +01:00
Vic Wang
9c8adb8718 8194279: support zhaoxin x86 cpu vendor ids CentaurHauls and Shanghai
Reviewed-by: dholmes, kvn
2018-01-04 22:54:40 -05:00
Tobias Hartmann
34f553d15f 8194494: SHA-512 stub uses AVX 2 instructions on non-supporting CPUs
Check for supports_avx2() && supports_bmi2() before generating SHA-512 stub.

Reviewed-by: kvn
2018-01-05 10:23:57 +01:00
Andrew Haley
c7e601e911 8193260: AArch64: JVMCI: Implement trampoline calls
Reviewed-by: adinn
2018-01-03 17:29:20 +00:00
Goetz Lindenmaier
407df53824 8193927: Optimize scanning code for oops
Reviewed-by: simonis, mdoerr, aph
2017-12-21 09:05:32 +01:00
Jesper Wilhelmsson
8650bbcf47 Merge 2017-12-20 20:55:07 +01:00
Vivek Deshpande
25e03a8e65 8190934: Regressions on Haswell Xeon due to JDK-8178811
Reviewed-by: neliasso, kvn
2017-12-15 10:44:06 -08: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
Vladimir Ivanov
0c05e5a478 8190869: C2: missing strength reduction of Math.pow(x, 2.0D) to x*x
Reviewed-by: kvn
2017-12-13 19:32:48 +03:00
Razvan A Lupusoru
b96c85c640 8192846: Support cmov vectorization for float
Reviewed-by: kvn
2017-12-05 09:49:23 -08:00
Jean Christophe Beyler
0cd7cb821a 8191027: JDK-8190862 work for arch x86/x64
Fixed Interpreter never refills TLAB

Reviewed-by: tschatzl, mdoerr, rehn
2017-12-18 15:38:20 -08: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
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
Coleen Phillimore
1d0acb189a 8186903: Remove j-types from Atomic
Make jlong into int64_t, atomic_FN_long into atomic_FN_int64, make jbyte to u_char.

Reviewed-by: dholmes, dcubed
2017-12-19 06:29:17 -05:00
Alexander Harlap
d15086130b 8185591: guarantee(_byte_map[_guard_index] == last_card) failed: card table guard has been modified
Properly handle zero count in gen_write_ref_array_post_barrier()

Reviewed-by: tschatzl, kbarrett
2017-11-22 18:58:01 -05:00
Razvan Lupusoru
9b6a428212 8190800: Support vectorization of Math.sqrt() on floats
Reviewed-by: vlivanov, kvn
2017-11-22 14:43:37 +03: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
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
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
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
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
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
Magnus Ihse Bursie
7c78b40f8d 8189608: Remove duplicated jni.h
Reviewed-by: erikj, dholmes, coleenp
2017-10-19 11:59:52 +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
Rohit Arul Raj
e6765bf9bf 8187219: Newer AMD 17h (EPYC) Processor family defaults
Reviewed-by: dholmes, kvn
2017-10-03 15:32:27 -07:00
Coleen Phillimore
73a801bc43 8186777: Make Klass::_java_mirror an OopHandle
Add indirection for fetching mirror so that GC doesn't have to follow CLD::_klasses

Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: hseigel, thartmann, eosterlund, stefank
2017-10-03 16:42:04 -04:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Vladimir Ivanov
fa8b858052 8174962: Better interface invocations
Reviewed-by: jrose, coleenp, ahgross, acorn, iignatyev
2017-05-26 18:39:27 +03:00