196 Commits

Author SHA1 Message Date
Sandhya Viswanathan
092fe55fb1 8210764: Update avx512 implementation
Reviewed-by: kvn
2018-09-24 16:37:28 -07:00
Coleen Phillimore
92575fc3f0 8202201: All oop stores in the x64 interpreter are treated as volatile when using G1
Ran out of registers, generated volatile and non-volatile branches.

Reviewed-by: eosterlund, dholmes
2018-09-20 08:11:21 -04:00
Coleen Phillimore
cba1e9458b 8203466: intermittent crash at jdk.internal.misc.Unsafe::getObjectVolatile (native)
Store rsi, rdi on thread local memory, store r15 in r9, for the stubs that have gc barriers

Reviewed-by: dlong, eosterlund
2018-09-18 08:27:01 -04:00
Mikael Vidstedt
12bac3a02d 8210676: Remove some unused Label variables
Reviewed-by: kvn, dholmes, njian, aph
2018-09-14 22:35:44 -07:00
Mikael Vidstedt
0f68e5221f 8210381: Obsolete EmitSync
Reviewed-by: kvn, dcubed, mdoerr, mbaesken, shade
2018-09-06 18:06:24 -07:00
Vladimir Kozlov
6f8114227c 8209594: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
Replace short jumps and fix other issues when generated code exceed expected range.

Reviewed-by: dlong, rasbold
2018-09-04 12:44:02 -07:00
Lutz Schmidt
f36874335d 8207343: Automate vtable/itable stub size calculation
Reviewed-by: kvn, mdoerr
2018-09-03 09:43:08 +02:00
Jesper Wilhelmsson
d40735db17 Merge 2018-08-29 19:48:28 +02:00
Vladimir Kozlov
789b608995 8209735: Disable avx512 by default
Reviewed-by: iveresov, ecaspole
2018-08-20 15:10:20 -07:00
Vivek Deshpande
4248ac828c 8207746: C2: Lucene crashes on AVX512 instruction
Replace add/sub instructions which affect flags with lea instruction.

Reviewed-by: kvn, thartmann
2018-08-15 00:48:12 -07:00
Jean Christophe Beyler
39cd4bdd52 8207252: C1 still does eden allocations when TLAB is enabled
Only do eden allocations when TLAB is disabled

Reviewed-by: kbarrett, jrose, tschatzl, iveresov
2018-07-22 20:00:39 -07:00
Per Lidén
14443eec10 8209883: ZGC: Compile without C1 broken
Reviewed-by: eosterlund, shade
2018-08-23 14:31:27 +02:00
Dean Long
2406a52bd6 8209651: better TLS poll for x64 C2
Reviewed-by: kvn
2018-08-22 13:53:48 -07:00
Roman Kennke
83d1dd7d9a 8209667: Explicit barriers for C1/LIR
Reviewed-by: eosterlund, roland
2018-08-19 20:00:57 +02:00
Roman Kennke
f6bcc38500 8209668: Explicit barriers for C1/assembler
Reviewed-by: roland, eosterlund
2018-08-21 13:12:15 +02:00
Mikael Vidstedt
95db6924f2 Merge 2018-08-20 14:19:30 -07:00
Tobias Hartmann
5b0774ea01 8209511: C2 asserts with UseSSE < 4 and AVX enabled: "Label was never bound to a location, but it was used as a jmp target'
Make sure label is bound even if SSE is disabled.

Reviewed-by: kvn
2018-08-16 09:09:18 +02:00
Roman Kennke
cbcc690048 8205523: Explicit barriers for interpreter
Reviewed-by: eosterlund, coleenp
2018-06-22 16:07:15 +02:00
Thomas Schatzl
e98c176026 8208670: Compiler changes to allow enabling -Wreorder
Reviewed-by: kvn
2018-08-08 15:31:06 +02:00
Zhengyu Gu
23db5cd8a0 8208635: Minimal VM build is broken after JDK-8199868 (Support JNI critical functions in object pinning API)
Added missing header file

Reviewed-by: shade, gziemski
2018-08-02 11:13:00 -04:00
Zhengyu Gu
b71f3e7104 8199868: Support JNI critical functions in object pinning API
Pin/unpin incoming array arguments of critical native JNI call

Reviewed-by: shade, adinn
2018-07-31 13:12:06 -04:00
Harold Seigel
c277f9ed8e 8207779: Method::is_valid_method() compares 'this' with NULL
Add Method* parameter and make method static to avoid 'thi's comparison with NULL

Reviewed-by: lfoltan, coleenp
2018-07-30 16:35:54 -04:00
Phil Race
1387c87093 Merge 2018-07-26 10:00:40 -07:00
Xin Liu
6cbef1de5d 8206075: On x86, assert on unbound assembler Labels used as branch targets
Reviewed-by: kvn, mdoerr, phh
2018-07-20 11:55:05 -07:00
Jesper Wilhelmsson
4fc510cc89 Merge 2018-07-14 02:14:54 +02:00
Goetz Lindenmaier
2e682fa3cd 8207049: Minor improvements of compiler code
Reviewed-by: kvn, mdoerr
2018-07-12 16:31:28 +02:00
Goetz Lindenmaier
8a9b0134a8 8206977: Minor improvements of runtime code
Reviewed-by: coleenp, lfoltan
2018-07-11 16:11:10 +02:00
Smita Kamath
3feaefd75f 8205528: Base64 encoding algorithm using AVX512 instructions
Reviewed-by: kvn, psandoz
2018-06-27 20:21:42 -07:00
Kim Barrett
8a2170dad7 8205559: Remove IN_CONCURRENT_ROOT Access decorator
Removed decorator and made all NativeAccess use barriers.

Reviewed-by: pliden, stefank
2018-06-26 16:59:38 -04:00
Ioi Lam
b5f0945a72 8204267: Generate comments in -XX:+PrintInterpreter to link to source code
Changed __ macro to use Disassembler::hook()

Reviewed-by: coleenp, aph
2018-06-03 23:33:00 -07:00
Roman Kennke
943be51fe7 8206272: Remove stray BarrierSetAssembler call
Reviewed-by: pliden, shade
2018-07-05 19:22:53 +02:00
David Holmes
95bf19563b 8010319: Implementation of JEP 181: Nest-Based Access Control
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Kim Barrett
b84c23399e 8205459: Rename Access API flag decorators
Rename OOP_NOT_NULL, IN_HEAP_ARRAY, AS_DEST_NOT_INITIALIZED

Reviewed-by: pliden, stefank
2018-06-22 17:46:58 -04:00
Regev Shemy
a6ac56a69e 8205398: AES-CBC decryption algorithm using AVX512 instructions
Co-authored-by: Shay Gueron <shay.gueron@intel.com>
Co-authored-by: Smita Kamath <smita.kamath@intel.com>
Co-authored-by: Shravya Rukmannagari <shravya.rukmannagari@intel.com>
Reviewed-by: kvn
2018-06-21 10:54:07 -07:00
Roman Kennke
3ac6f8d3b9 8205336: Modularize allocations in assembler
Reviewed-by: aph, eosterlund
2018-06-19 13:03:12 -04:00
Roman Kennke
37393170c1 8204941: Refactor TemplateTable::_new to use MacroAssembler helpers for tlab and eden
Reviewed-by: kvn, coleenp
2018-06-19 11:27:05 +02:00
Kim Barrett
05b5a78903 8204939: Change Access nomenclature: root to native
Rename RootAccess => NativeAccess, IN_ROOT => IN_NATIVE, and related cleanups.

Reviewed-by: pliden, stefank, coleenp
2018-06-15 16:53:58 -04:00
Roland Westrelin
724e41cbb6 8204240: Extend MDO to allow more reasons to be recorded per bci
Reviewed-by: kvn, neliasso
2018-06-11 15:28:24 +02:00
Roman Kennke
74e093f058 8203157: Object equals abstraction for BarrierSetAssembler
Reviewed-by: eosterlund, aph
2018-06-13 10:01:53 +02:00
Rohit Arul Raj
dcf7b2e477 8201193: Use XMM/YMM for objects initialization
Reviewed-by: jrose, kvn
2018-06-12 21:29:47 -07:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Aleksey Shipilev
bb1c912d9e 8204479: Bitwise AND on byte value sometimes produces wrong result
Reviewed-by: kvn, thartmann
2018-06-08 11:41:43 +02:00
Erik Österlund
9f39d8c408 8203353: Fixup inferred decorators in the interpreter
Reviewed-by: rkennke, coleenp
2018-06-07 15:10:06 +02:00
Roman Kennke
6aa9e85a5e 8200623: Primitive heap access for interpreter BarrierSetAssembler/x86
Reviewed-by: eosterlund, adinn
2018-06-05 21:38:38 +02:00
Coleen Phillimore
03702fb256 8204195: Clean up macroAssembler.inline.hpp and other inline.hpp files included in .hpp files
Moved macroAssembler.inline.hpp out of header file and distributed to .cpp files that included them: ie. c1_MacroAssembler.hpp and interp_masm.hpp. Also freeList.inline.hpp and allocation.inline.hpp.

Reviewed-by: jiangli, kvn
2018-06-04 10:18:43 -04:00
Erik Österlund
6e9153ef8b 8202547: Move G1 runtime calls used by generated code to G1BarrierSetRuntime
Reviewed-by: rkennke, tschatzl
2018-06-04 12:59:51 +02:00
Aleksey Shipilev
e1c94920e5 8203628: Optimize (masked) byte memory comparisons on x86
Reviewed-by: adinn, vlivanov, jrose
2018-05-28 09:05:43 +02:00
Jamsheed Mohammed C M
313a255558 8184030: TestUseRTMLockingOptionOnUnsupportedVM - RTM locking optimization not supported is missing
Corrected the rtm unsupported error message for emulated client.

Reviewed-by: thartmann, gromero
2018-05-24 22:21:00 -07:00
Per Lidén
2aa9d028c7 8202989: Add missing decorators in calls to to arraycopy_prologue/epilogue
Reviewed-by: stefank, eosterlund
2018-05-18 15:21:23 +02:00
Erik Österlund
c2b147225c 8202479: Add missing try_resolve_jobject_in_native calls
Reviewed-by: coleenp, pliden
2018-05-17 11:56:21 +02:00