62 Commits

Author SHA1 Message Date
Tobias Hartmann
4b27547977 8177899: Tests fail due to code cache exhaustion on machines with many cores
Implemented upper limit on CICompilerCount based on code cache size.

Reviewed-by: kvn, mdoerr
2018-10-30 09:06:08 +01:00
Mandy Chung
5e6d6b8642 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -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
Andrew Haley
768f091086 8210972: Add comment text to C1 patching code
Reviewed-by: kvn
2018-09-20 18:29:05 +01:00
Sandhya Viswanathan
092fe55fb1 8210764: Update avx512 implementation
Reviewed-by: kvn
2018-09-24 16:37:28 -07:00
Dean Long
e51b1f0cf6 8187078: -XX:+VerifyOops finds numerous problems when running JPRT
Reviewed-by: kvn
2018-09-05 13:10:40 -07:00
Erik Österlund
1c727102ab 8210158: Accessorize JFR getEventWriter() intrinsics
Reviewed-by: kvn, neliasso, roland, rbackman
2018-09-05 10:11:42 +02:00
Gunter Haug
e2081b42b5 8208480: Test failure: assert(is_bound() || is_unused()) after JDK-8206075 in C1
Reviewed-by: kvn, phh, lucy
2018-08-20 12:08:07 +02:00
Roman Kennke
83d1dd7d9a 8209667: Explicit barriers for C1/LIR
Reviewed-by: eosterlund, roland
2018-08-19 20:00:57 +02:00
Roman Kennke
d8ffa83e7a 8209801: Rename C1_WRITE_ACCESS and C1_READ_ACCESS decorators to ACCESS_READ and ACCESS_WRITE
Reviewed-by: kbarrett, pliden
2018-08-22 13:01:26 +02:00
Ioi Lam
bc62b3a40e 8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
Added fieldDescriptor.inline.hpp

Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
Lois Foltan
75ed173e15 8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
Clean up VM anonymous class terminology.

Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04:00
Erik Österlund
b9052e9647 8208582: Introduce native oop barriers in C1 for OopHandle
Reviewed-by: coleenp, kvn
2018-08-15 09:51:57 +02:00
Mikael Vidstedt
83a51d869e Merge 2018-08-09 10:08:07 -07:00
Tobias Hartmann
6dac70d919 8207355: C1 compilation hangs in ComputeLinearScanOrder::compute_dominator
Bail out from recursive computation if the block was already processed.

Reviewed-by: kvn, iveresov
2018-08-06 09:09:57 +02:00
Thomas Schatzl
e98c176026 8208670: Compiler changes to allow enabling -Wreorder
Reviewed-by: kvn
2018-08-08 15:31:06 +02:00
Harold Seigel
82186ce311 8208604: Metadata::print_value_string() compares 'this' to NULL
Remove the comparison and add asserts to check for NULL

Reviewed-by: coleenp, gziemski
2018-08-06 14:20:58 -04: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
Rahul Raghavan
2e36eebdd2 8206873: 2 Null pointer dereference defect groups in LIRGenerator
Added missing assert statements

Reviewed-by: kvn, thartmann
2018-07-13 01:31:23 -07:00
Goetz Lindenmaier
2e682fa3cd 8207049: Minor improvements of compiler code
Reviewed-by: kvn, mdoerr
2018-07-12 16:31:28 +02: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
Vladimir Kozlov
9b7a61eff1 8184349: There should be some verification that EnableJVMCI is disabled if a GC not supporting JVMCI is selected
Exit VM with Error when JVMCI does not support seected GC.

Reviewed-by: iveresov, thartmann
2018-06-15 09:16:48 -07: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
Tobias Hartmann
f9ac81abcd 8203196: C1 emits incorrect code due to integer overflow in _tableswitch keys
Avoid integer overflow in TableSwitch().

Reviewed-by: goetz, mdoerr, vlivanov
2018-05-22 09:04:15 +02:00
Igor Veresov
9bb5902092 8201447: C1 does backedge profiling incorrectly
Increment backedge counter only for backward arms of conditional branches.

Reviewed-by: never, kvn
2018-05-16 15:19:28 -07:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Per Lidén
875d55e903 8202976: Add C1 lea patching support for x86
Reviewed-by: kvn, neliasso
2018-05-14 15:42:59 +02:00
Goetz Lindenmaier
ac3043c692 8201593: Print array length in ArrayIndexOutOfBoundsException
Reviewed-by: dholmes, mdoerr, smonteith, shade, rriggs
2018-05-07 09:11:21 +02:00
Erik Österlund
e6bccc9d86 8202640: Small C1 cleanups for BarrierSetC1
Reviewed-by: kvn, neliasso
2018-05-05 22:19:19 +02:00
Vladimir Ivanov
3ecce1fe48 8202465: [C1] casts should not be eliminated for interface types
Reviewed-by: jrose, thartmann
2018-05-04 16:49:22 -07:00
Aleksey Shipilev
0e7d8874a9 8202379: ARM32 is broken after JDK-8201543 (Modularize C1 GC barriers)
Reviewed-by: aph, eosterlund
2018-05-01 19:13:31 +02:00
John Rose
d05ed512ac 8200167: Validate more special case invocations
Co-authored-by: Vladimir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Reviewed-by: acorn, vlivanov, dholmes
2018-04-30 21:56:54 -04:00
Erik Österlund
f4893f5a9a 8201543: Modularize C1 GC barriers
Reviewed-by: pliden, rbackman, rkennke
2018-04-26 20:42:43 +02:00
Roland Westrelin
93691571bc 8200303: C2 should leverage profiling for lookupswitch/tableswitch
Reviewed-by: kvn, thartmann
2018-04-24 15:07:20 -07:00
Per Lidén
ec504ecf84 8201362: Remove CollectedHeap::barrier_set()
Reviewed-by: shade, rkennke
2018-04-12 11:22:24 +02:00
Per Lidén
6825739d3f 8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
Reviewed-by: shade, rehn
2018-04-12 08:25:56 +02:00
Stefan Karlsson
623c83dad9 8201427: Fix Minimal VM builds on Linux x64
Reviewed-by: shade
2018-04-11 13:52:23 +02:00
Coleen Phillimore
b541d9ad77 8200276: Cleanup allocation.hpp includes
Reviewed-by: stefank, hseigel
2018-03-27 11:53:23 -04:00
Coleen Phillimore
221d0f4c54 8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
Remove frame.inline.hpp,etc from header files and adjust transitive includes.

Reviewed-by: stefank, stuefe
2018-03-21 19:45:24 -04:00
Erik Österlund
81919e5cc5 8199696: Remove Runtime1::arraycopy
Reviewed-by: kvn, mdoerr
2018-03-20 11:41:17 +01:00
Erik Österlund
0f92948d6f 8199604: Rename CardTableModRefBS to CardTableBarrierSet
Reviewed-by: stefank, pliden
2018-03-19 07:38:18 +01:00
Coleen Phillimore
fde89a34d0 8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files

Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Rahul Raghavan
24fd306c51 8071282: remove misc dead code
Cleanup of dead code done

Reviewed-by: kvn, thartmann
2018-03-14 09:09:38 -07:00
Roman Kennke
147488cbce 8198445: Access API for primitive/native arraycopy
Reviewed-by: pliden, eosterlund, dholmes
2018-03-13 17:13:35 +01:00
Coleen Phillimore
ee9d695757 8199283: Remove ValueObj class for allocation subclassing for compiler code
Reviewed-by: stefank, tschatzl
2018-03-09 20:01:38 -05:00
Erik Österlund
a06129a432 8195148: Collapse G1SATBCardTableModRefBS and G1SATBCardTableLoggingModRefBS into a single G1BarrierSet
Reviewed-by: ehelin, kbarrett
2018-03-06 08:36:44 +01:00
Erik Österlund
95d34d138d 8195142: Refactor out card table from CardTableModRefBS to flatten the BarrierSet hierarchy
Reviewed-by: stefank, coleenp, kvn, ehelin
2018-02-26 09:34:12 +01:00
Erik Österlund
432a71e564 8198286: Direct memory accessors in typeArrayOop.hpp should use Access API
Reviewed-by: pliden, rkennke
2018-02-22 10:39:42 +01:00
Dean Long
b1723061be 8194984: 9 Null pointer dereference defect groups related to ciMethodData::bci_to_data()
Reviewed-by: kvn
2018-01-31 16:09:29 -08: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