154 Commits

Author SHA1 Message Date
Aleksey Shipilev
5850a50781 8211375: Minimal VM build failures after JDK-8211251 (Default mask register for avx512 instructions)
Reviewed-by: kvn
2018-10-03 18:46:26 +02:00
Rahul Raghavan
493b31ba91 8211168: Solaris-X64 build failure with error nreg hides the same name in an outer scope
Corrected nreg definition

Reviewed-by: dcubed, kvn, shade
2018-10-03 08:03:13 -07:00
David Holmes
a3cd6a1a70 8188764: Obsolete AssumeMP and then remove all support for non-MP builds
Reviewed-by: mikael, mdoerr, bulasevich, eosterlund
2018-10-03 03:41:57 -04:00
Sandhya Viswanathan
b0ea3a49d2 8211251: Default mask register for avx512 instructions
Encode AVX 512 instructions as unmasked instruction where mask register is not specified.

Reviewed-by: kvn
2018-10-01 11:54:34 -07:00
Roman Kennke
f7b890ae5f 8211241: Missing obj equals in TemplateTable::fast_aldc
Reviewed-by: dcubed, coleenp
2018-10-01 16:34:22 +02:00
Aleksey Shipilev
feca06a183 8211274: x86_32 build failures after JDK-8211029 (Have a common set of enabled warnings for all native libraries)
Reviewed-by: dholmes, tschatzl
2018-09-28 18:28:49 +02:00
Aleksey Shipilev
e2baf30529 8211272: x86_32 build failures after JDK-8210764 (Update avx512 implementation)
Reviewed-by: rkennke, kvn
2018-09-28 18:28:48 +02:00
Roman Kennke
001dbe273b 8211061: Tests fail with assert(VM_Version::supports_sse4_1()) on ThreadRipper CPU
Reviewed-by: thartmann, roland
2018-09-25 16:41:25 +02:00
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