689 Commits

Author SHA1 Message Date
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
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +01:00
Michihiro Horie
463f07b41a 8194861: PPC64 : Need support for VSR spills in ppc.ad
Reviewed-by: mdoerr, goetz
2018-01-24 11:22:50 +01:00
Goetz Lindenmaier
490d2ce747 8195776: [x86,sparc] A row of minor fixes and enhancements
Reviewed-by: kvn
2018-01-19 17:01:34 +01:00
Andrew Haley
a738a4c053 8195685: AArch64: AArch64 cannot build with JDK-8174962
Reviewed-by: adinn, njian
2018-01-19 16:57:56 +00:00
Ningsheng Jian
1a25bbdf0f 8195588: AArch64: Codegen fix after JDK-8194256
Update shift constant usage to align with the assembler change.

Reviewed-by: aph
2018-01-17 13:21:38 +08:00
Jesper Wilhelmsson
3c2e5acfce Merge 2018-01-13 02:56:22 +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