56 Commits

Author SHA1 Message Date
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
Andrew Haley
1b6f4c4ddc Merge 2017-11-27 17:04:45 +00:00
Andrew Haley
295112c91a 8189596: AArch64: implementation for Thread-local handshakes
Reviewed-by: adinn
2017-11-24 17:19:47 +00: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
Rahul Raghavan
250c05ee4c 8191227: issues with unsafe handle resolution
Added ThreadInVMfromNative or ThreadInVMfromUnknown support

Reviewed-by: thartmann, vlivanov
2017-11-27 03:11:38 -08: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
Lutz Schmidt
d5adf1df92 8189793: [s390]: Improve String compress/inflate by exploiting vector instructions
Reviewed-by: mdoerr, goetz
2017-11-22 17:10:38 +01: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
Michihiro Horie
36dec9793d 8188802: PPC64: Failure on assert(lrgmask.is_aligned_sets(RegMask::SlotsPerVecX))
Reviewed-by: mdoerr
2017-10-05 12:56:42 +02:00
Martin Doerr
f651176392 8188773: PPC64 and s390: Fix UseMembar and enable ShareVtableStubs
Reviewed-by: goetz
2017-10-04 16:44:45 +02:00
Lutz Schmidt
bdb303aa42 8187969: [s390] z/Architecture Vector Facility Support. Part II
Reviewed-by: mdoerr
2017-10-04 14:25:53 +02:00
Michihiro Horie
febf1d80ea 8188757: PPC64: Disable VSR52-63 in ppc.ad
Reviewed-by: mdoerr
2017-10-04 14:01:54 +02:00
Michihiro Horie
7b17b2d2a3 8188139: PPC64: Superword Level Parallelization with VSX
Reviewed-by: kvn, gromero
2017-10-03 17:37:15 -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
cc04ffc7b3 Merge 2017-10-03 21:21:35 +00: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
Patric Hedlin
e31bc5637a 8188031: Complement fused mac operations on SPARC
Adding a few (FMAf) matcher patterns to the SPARC back-end

Reviewed-by: rbackman, kvn
2017-09-29 10:44:58 +02:00
Patric Hedlin
d801fa5d9d 8182279: Updating SPARC feature/capability detection to support Core C5
Renamed Core Sx to Core Cx (C3, C4, C5, according to name change).

Reviewed-by: kvn, dholmes
2017-09-29 10:41:36 +02:00
Patric Hedlin
b125aebb91 8167199: Add C2 SPARC intrinsic for BigInteger::multiplyToLen() method
Preliminary support for intrinsic multiplyToLen, including generalised version based on 'mpmul' instruction (when available).

Reviewed-by: kvn, neliasso
2017-09-29 10:40:54 +02:00
Patric Hedlin
1af1d42ac4 8011352: C1: TraceCodeBlobStacks crashes fastdebug Solaris SPARC
Handle null correctly

Reviewed-by: roland, dlong, rbackman
2017-09-29 10:40:49 +02:00