957 Commits

Author SHA1 Message Date
Roman Kennke
99291bc892 8167659: Access of mark word should use oopDesc::mark_offset_in_bytes() instead of '0'
Use oopDesc::mark_offset_in_bytes() when addressing mark word, instead of '0'.

Reviewed-by: dholmes, coleenp
2016-10-13 11:27:20 +02:00
Vivek Deshpande
7a8af5acc8 8178811: Minimize the AVX <-> SSE transition penalty through generation of vzeroupper instruction on x86
Reviewed-by: kvn
2017-05-05 19:28:54 -07:00
Ioi Lam
c386cec7b1 8171392: Move Klass pointers outside of ConstantPool entries so ConstantPool can be read-only
Added _resolved_klasses; moved _resolved_references to ConstantPoolCache, etc.

Reviewed-by: coleenp, lfoltan, simonis, aph
2017-03-03 23:08:35 -08:00
Jesper Wilhelmsson
d507b8945c Merge 2017-04-18 22:25:33 +02:00
Tobias Hartmann
a8a97e6625 8178033: C1 crashes with -XX:UseAVX = 3: "not a mov [reg+offs], reg instruction"
Skip the EVEX prefix such that the instruction address points to the prefixed opcode.

Reviewed-by: kvn, mcberg
2017-04-06 08:19:42 +02:00
Kim Barrett
f7277d87d5 8160748: Inconsistent types for ideal_reg
Made ideal_reg consistently uint.

Reviewed-by: kvn, iveresov
2017-04-12 01:31:36 -04:00
Jesper Wilhelmsson
cc14920031 Merge 2017-04-06 22:58:55 +02:00
Mikael Gerdin
cc1aaab7e9 8176100: [REDO][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by: kbarrett, coleenp, tschatzl
2017-03-22 15:25:21 +01:00
Markus Grönlund
f889b5119c 8175178: Stack traversal during OSR migration asserts with invalid bci or invalid scope desc on x86
Reviewed-by: dcubed, coleenp
2017-02-23 16:55:59 +01:00
Daniel D. Daugherty
298e3a2dcc 8175086: [BACKOUT] fix for JDK-8166188
Reviewed-by: kbarrett, jwilhelm, dcubed
2017-02-16 10:41:19 -08:00
Kim Barrett
28477cf493 8166188: G1 Needs pre barrier on dereference of weak JNI handles
Add low tag to jweaks and G1 barrier for jweak loads.

Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Co-authored-by: Volker Simonis <volker.simonis@sap.com>
Reviewed-by: mgerdin, mdoerr, pliden, dlong, dcubed, coleenp, aph, tschatzl
2017-02-15 22:19:13 -05:00
Jamsheed Mohammed C M
6f2cad0c0c 8173679: Disable ProfileTrap code and UseRTMLocking in emulated client Win32
Disabled mdo trap count update on deopt, and made +UseRTMLocking to exit.

Reviewed-by: kvn
2017-02-03 19:26:35 -08:00
Zoltan Majo
f3fcb0ec76 8172844: Assert fails in deoptimization due to original PC at the end of code section
Change assert to accept end of code section as well.

Reviewed-by: rbackman, kvn, dlong
2017-01-23 09:53:27 +01:00
Alexander Harlap
cc5730af70 8140588: Internal Error: gc/g1/ptrQueue.hpp:126 assert(_index == _sz) failed: invariant: queues are empty when activated
Re-check queue active state before updating

Reviewed-by: pliden, kbarrett, mdoerr
2017-01-13 12:27:54 -05:00
Vivek Deshpande
631dc21518 8171974: Fix for R10 Register clobbering with usage of ExternalAddress
Reviewed-by: kvn, rbackman
2017-01-03 14:56:51 -08:00
Daniel D. Daugherty
a6fa72b21c Merge 2016-12-20 19:52:52 -08:00
Goetz Lindenmaier
12aa0a8788 8170655: [posix] Fix minimum stack size computations
Reviewed-by: dcubed, coleenp
2016-12-19 15:48:57 -08:00
Jamsheed Mohammed C M
af7e1eac20 8170761: Buffer overrun in sharedRuntime_x86_64.cpp:477
Fixed missing half assert!

Reviewed-by: kvn
2016-12-19 06:25:12 -08:00
Bharadwaj Yadavalli
2841c5eb2b 8171008: Integrate AOT compiler into JDK
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Vivek Deshpande
947115f16f 8170430: x86 pow() stub from Intel libm is inconsistent with pow() from fdlib
Do not use libm stubs when InlineIntrinsics switched off

Reviewed-by: kvn
2016-11-29 17:41:08 -08:00
Coleen Phillimore
4b9562288f 8155672: Remove instanceKlassHandles and KlassHandles
Use unhandled pointers for Klass and InstanceKlass, remove handles with no implementation.

Reviewed-by: dholmes, lfoltan, vlivanov, sspitsyn
2017-03-15 10:25:37 -04:00
Coleen Phillimore
35e8433c1c Merge 2017-03-14 14:07:24 -04:00
Ioi Lam
f5777dc9bd 8005165: Remove CPU-dependent code in self-patching vtables
Reviewed-by: coleenp, stuefe, jiangli
2017-03-03 23:08:35 -08:00
Vivek Deshpande
1170f8e5c8 8165287: fix compress intrinsics to produce correct results with avx512
Reviewed-by: kvn
2016-11-22 13:59:45 -08:00
Michael Berg
56ed7077a8 8170039: Change UseAVX < 3 on SKX/KNL to not emit evex vector check
Reviewed-by: kvn
2016-11-22 11:34:11 -08:00
Tobias Hartmann
94e3514d8f 8169711: CDS does not patch entry trampoline if intrinsic method is disabled
Always create interpreter method entries for intrinsified methods but replace them with vanilla entries if the intrinsic is disabled at runtime.

Reviewed-by: kvn, iklam
2016-11-21 08:27:10 +01:00
Razvan A Lupusoru
c372aca124 8167067: Fix x86 SHA instructions to be non Vex encoded
Reviewed-by: kvn
2016-11-09 10:21:56 -08:00
Chris Plummer
3b086bdbbb 8172020: Internal Error (cpu/arm/vm/frame_arm.cpp:571): assert(obj == __null || Universe::heap()->is_in(obj)) failed: sanity check #
Do check_and_handle_earlyret() on method return

Reviewed-by: sspitsyn, aph, adinn, simonis
2017-02-28 10:51:47 -08:00
Bob Vandette
929fc23c45 Merge 2017-02-24 12:41:26 -05:00
Coleen Phillimore
0b3bc5c4f0 8169881: Remove implicit Handle conversions oop->Handle
Pass THREAD to Handle as argument instead of implicit Thread::current() call.

Reviewed-by: dholmes, sspitsyn
2017-02-15 22:59:57 -05:00
Max Ockner
697bec6baf 8169206: TemplateInterpreter::_continuation_entry is never referenced
TemplateInterpreter::_continuation_entry has been removed.

Reviewed-by: coleenp, dholmes, fparain
2017-02-13 10:37:33 -05:00
Bob Vandette
50d01f670b 8172670: AOT Platform Support for Windows and Mac OS X x64
Reviewed-by: kvn
2017-02-09 15:43:54 -05:00
Volker Simonis
fcdc3eac28 8159611: C2: ArrayCopy elimination skips required parameter checks
Reviewed-by: kvn, zmajo, thartmann
2016-10-06 18:51:24 +02:00
Dmitry Chuyko
e70bbbd57f 8067744: XMM/SSE float register values corrupted by JNI_CreateVM call in JRE 8 (Windows)
Save/restore registers in generate_get_cpu_info() code which checks interrupts.

Reviewed-by: kvn, mcberg
2016-10-28 12:28:46 -07:00
Goetz Lindenmaier
da8430daf1 8166561: [s390] Adaptions needed for s390 port in C1 and C2
Reviewed-by: kvn
2016-09-22 18:29:15 +02:00
Goetz Lindenmaier
7aed968c10 8166560: [s390] Basic enablement of s390 port
Also fix problem with ARM Elf configuration.

Reviewed-by: dholmes, coleenp
2016-09-22 18:23:15 +02:00
Chris Plummer
5a51418eb9 8166679: JNI AsyncGetCallTrace replaces topmost frame name with <no Java callstack recorded> starting with Java 9 b133
Partly undid the changes for 8159284, which are the cause of this CR.

Reviewed-by: dholmes, coleenp, dcubed
2016-10-24 14:12:32 -07:00
Dean Long
a8a3dae37c 8160411: SIGSEGV in frame::safe_for_sender on incomplete DeoptimizationBlob frame
Add range check for sender_sp

Reviewed-by: aph, dcubed
2016-10-21 17:51:33 -07:00
Smita Kamath
2bc0337093 8165381: Update for x86 SHA512 using AVX2
Add intrinsics for x86 AVX2 architecture with no SHA instructions.

Reviewed-by: kvn
2016-10-21 10:16:09 -07:00
Alejandro Murillo
9864800638 Merge 2016-10-20 17:05:26 -07:00
Alejandro Murillo
af03100a51 Merge 2016-10-20 16:53:56 -07:00
Tom Rodriguez
fff2e89e6d 8166972: [JVMCI] reduce size of interpreter when JVMCI is enabled
Reviewed-by: kvn, twisti
2016-10-18 17:06:58 +00:00
Vladimir Kozlov
28c75424e3 Merge 2016-10-14 08:54:02 -07:00
Michael Berg
993bfb6565 8167987: change merge context to clear for mask register usage model
Reviewed-by: kvn
2016-10-18 19:08:24 -07:00
Tom Rodriguez
146d0563d9 8166869: [JVMCI] record metadata relocations for metadata references
Reviewed-by: kvn
2016-09-29 10:00:56 -07:00
Martin Doerr
8180ee5c6a 8166140: C1: Possible integer overflow in LIRGenerator::generate_address on several platforms
Reviewed-by: kvn
2016-09-19 15:08:03 +02:00
Kishor Kharbas
f6ec56f5bb 8078122: YMM registers upper 128 bits may get clobbered by a JNI call on windows
Convert all XMM registers to be Save-on-Call on Win64.

Reviewed-by: kvn
2016-09-21 13:47:56 -07:00
Michael Berg
5b54998a23 8129376: SPECjvm98-client performance regression in 9-b66
Reviewed-by: kvn
2016-09-20 16:50:37 -07:00
Dean Long
e2e8ee17d0 Merge 2016-09-20 16:34:45 -04:00
Doug Simon
2c923c1c95 8165457: [JVMCI] increase InterpreterCodeSize for JVMCI
Reviewed-by: twisti
2016-09-19 13:26:37 -07:00