757 Commits

Author SHA1 Message Date
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
Rahul Raghavan
1da4b32993 8193699: aarch64 fails to build after 8167372
Added ThreadInVMfromUnknown support

Reviewed-by: smonteith, vlivanov
2017-12-26 00:38:49 -08:00
Martin Doerr
201a232a23 8194258: PPC64 safepoint mechanism: Fix initialization on AIX and support SIGTRAP
Use mmap on AIX to allocate protected page. Use trap instructions for polling if UseSIGTRAP is enabled.

Reviewed-by: rehn, goetz
2018-01-10 11:09:55 +01:00
Abhijit Saha
f96c816c07 Merge 2018-01-12 15:05:35 -08:00
Goetz Lindenmaier
407df53824 8193927: Optimize scanning code for oops
Reviewed-by: simonis, mdoerr, aph
2017-12-21 09:05:32 +01:00
Jean Christophe Beyler
2a8c7a915a 8191988: JDK-8190862 work for arch s390
Cleanup interpreter TLAB code and fix ZeroTLAB

Reviewed-by: mdoerr, goetz
2017-12-20 08:38:20 -08:00
Jean Christophe Beyler
4233e28ee3 8191985: JDK-8190862 work for arch arm
Fixed Interpreter never refills TLAB

Reviewed-by: dsamersoff, aph
2017-12-19 20:14:52 -08:00
Dmitrij Pochepko
84d83a6998 8194256: AARCH64: SIMD shift instructions are incorrectly encoded
Reviewed-by: aph
2018-01-09 18:18:36 +03:00
Jesper Wilhelmsson
0d68fdfec3 Merge 2018-01-05 22:02:20 +01:00
Andrew Haley
24e9cda4ae 8195685: AArch64: AArch64 cannot build with JDK-8174962
Reviewed-by: adinn, njian
2018-01-19 16:57:56 +00: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
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
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
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
Roman Kennke
91a2daa9a2 8193193: AArch64: immByteMapBase operand generated for non-CardTable GCs
Reviewed-by: aph
2017-12-05 10:43:23 +00:00
Jean Christophe Beyler
1f15d2bb46 8191989: JDK-8190862 work for arch sparc
Fixed Interpreter never refills TLAB

Reviewed-by: tschatzl, rehn
2017-12-19 19:55:23 -08:00
Jean Christophe Beyler
ada54c7d1a 8191986: JDK-8190862 work for arch aarch64
Fixed Interpreter never refills TLAB

Reviewed-by: dsamersoff, adinn, tschatzl, rehn
2017-12-19 20:10:59 -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
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
Rahul Raghavan
9726143563 8193699: aarch64 fails to build after 8167372
Added ThreadInVMfromUnknown support

Reviewed-by: smonteith, vlivanov
2017-12-22 09:51:16 -08:00
Jean Christophe Beyler
df559fe00e 8191987: JDK-8190862 work for arch ppc64
Cleanup interpreter TLAB code

Reviewed-by: mdoerr, goetz
2017-12-20 11:00:07 -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
Jesper Wilhelmsson
4db5d786b7 Merge 2017-12-15 16:54:17 +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
Martin Doerr
20439abed6 8191907: PPC64 and s390 parts of JDK-8174962: Better interface invocations
Reviewed-by: goetz
2017-11-28 01:08:26 +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
Paul Sandoz
e55a05957d 8186209: Tool support for ConstantDynamic
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00