7382 Commits

Author SHA1 Message Date
Roland Schatz
9f373603a0 8159167: [JVMCI] fix HotSpotVMConfig startup performance
Reviewed-by: iveresov
2016-06-16 16:41:50 +00:00
Zoltan Majo
cdc436922a 8157181: Compilers accept modification of final fields outside initializer methods
Track initialized final field updates; disable constant folding if an update is detected. Enforce final field update rules introduced by JVMS-7 (but only for JDK 9).

Reviewed-by: vlivanov, dnsimon, forax, never, kvn, coleenp
2016-06-15 14:27:58 +02:00
Aleksey Shipilev
c6c73deca4 8157726: VarHandles/Unsafe should support sub-word atomic ops
Reviewed-by: psandoz, vlivanov, lagergren
2016-06-15 11:21:36 +03:00
Tobias Hartmann
3fddb36924 8159244: Partially initialized string object created by C2's string concat optimization may escape
Emit release barrier after String creation to prevent partially initialized object from escaping.

Reviewed-by: kvn
2016-06-15 07:58:56 +02:00
Tobias Hartmann
e45caa8cba 8158228: C1 incorrectly folds mismatched loads from stable arrays
Disable constant folding for mismatched loads from stable arrays.

Reviewed-by: vlivanov
2016-06-07 18:20:44 +02:00
Tobias Hartmann
e8ef37ca55 Merge 2016-06-07 09:11:32 +00:00
Jamsheed Mohammed C M
9ead05c2dc 8146416: java.lang.OutOfMemoryError triggers: assert(current_bci == 0) failed: bci isn't zero for do_not_unlock_if_synchronized
Handle realloc failure pending exception.

Reviewed-by: roland
2016-06-06 23:24:46 -07:00
Doug Simon
39e5b15fdd 8156587: [JVMCI] remove Unsafe.getJavaMirror and Unsafe.getKlassPointer
Reviewed-by: kvn
2016-06-06 16:31:03 -07:00
Vladimir Kozlov
47b35cab0e Merge 2016-06-06 12:56:40 -07:00
Jiangli Zhou
5b19c425fa 8157189: 'iload_w' in shared class is not interpreted correctly
Don't rewrite 'iload_w' to 'nofast_iload' in shared class.

Reviewed-by: ccheung, hseigel
2016-06-03 17:45:03 -04:00
Gerard Ziemski
4543e25bd3 8155936: Boolean value should be set 1/0 or true/false via VM.set_flag jcmd
Add true/false as possible input values for boolean flags for jcmd.

Reviewed-by: gziemski, dsamersoff, coleenp
2016-06-03 13:26:43 -05:00
Rachel Protacio
80971e6c20 Merge 2016-06-03 16:19:53 +00:00
Rachel Protacio
75edf4adfd 8152404: Stabilize PackageEntry::package_exports_do
Re-defined PackageEntry member variables and export checking functions

Reviewed-by: dholmes, hseigel
2016-06-03 11:53:55 -04:00
Coleen Phillimore
7419c9549b 8158397: Crash: assert(save_resolved_method == resolved_method()) failed: does this change?
Remove assert.  it does change.

Reviewed-by: sspitsyn, jiangli, mgronlun
2016-06-03 08:33:28 -04:00
David Holmes
562cf441d4 Merge 2016-06-03 04:34:08 +00:00
David Holmes
c301fb7188 8154750: Add missing OrderAccess operations to ClassLoaderData lock-free data structures
Reviewed-by: kbarrett, coleenp, acorn
2016-06-02 23:37:09 -04:00
Doug Simon
fce865ff45 8158000: [JVMCI] remove unused ParseClosure class
Reviewed-by: kvn
2016-06-02 17:52:42 +00:00
Max Ockner
1563e05cf0 8138705: Kitchen sink stress test fails
NMT now supports overlapping commits.

Reviewed-by: coleenp, zgu
2016-06-02 12:07:55 -04:00
Tobias Hartmann
35f9db149b 8156760: VM crashes if -XX:-ReduceInitialCardMarks is set
Fixed several compiler crashes with disabled ReduceInitialCardMarks.

Reviewed-by: roland, minqi, dlong, tschatzl, kvn
2016-06-02 08:46:52 +02:00
Tobias Hartmann
d1cfec7f7e 8155046: Parse::Block construction using undefined behavior
Blocks should be created via constructor and placement new.

Reviewed-by: kvn
2016-06-01 14:22:18 +02:00
Vladimir Ivanov
a7ec30ae19 Merge 2016-05-27 17:01:27 +03:00
Nils Eliasson
d5b029d48d 8153352: Crash with assert(pd != 0L) failed: PcDesc must not be NULL
Simplify look_for_reserved_stack_annotated_method

Reviewed-by: kvn
2016-05-26 14:17:50 +02:00
Kim Barrett
83dbb0faba 8156548: gc/gctests/StringInternSyncWithGC2 fails with Test level exit status: 151
Avoid repeated verification.

Reviewed-by: jmasa, drwhite
2016-05-25 13:46:05 -04:00
Gerard Ziemski
f1c490f5fa 8152856: Xcode 7.3 -Wshift-negative-value compile failure on Mac OS X
Implement _lh_array_tag_type_value as const, not enum.

Reviewed-by: vlivanov, minqi
2016-05-24 12:42:43 -05:00
Vladimir Ivanov
3221da3cf7 Merge 2016-05-24 14:13:57 +03:00
Stefan Johansson
1f60d4b0c3 8156028: G1YoungGenSizer _adaptive_size not correct when setting NewSize and MaxNewSize to the same value
Reviewed-by: jmasa, sangheki, drwhite
2016-05-24 10:05:03 +02:00
Zoltan Majo
50c5fb834b 8157560: Reserve space for allocation prefetch only in builds that support allocation prefetching
Create the reserved area only in C2-enabled builds.

Reviewed-by: kvn, thartmann
2016-05-24 09:07:22 +02:00
Robbin Ehn
4154a35318 8157097: OptionsValidation/TestOptionsWithRanges.java crashes at CompactHashtableWriter::add during StringTable::copy_shared_string
Reviewed-by: dholmes, jiangli
2016-05-23 09:57:17 +02:00
Robbin Ehn
2096e37c4e 8153723: Change the default logging output for errors and warnings from stderr to stdout
Reviewed-by: mlarsson, sla
2016-05-23 08:02:04 +02:00
Vivek Deshpande
489b38091e 8154473: Update for CompilerDirectives to control stub generation and intrinsics
Use -XX:DisableIntrinsic flag to control intrinsics usage in Interpreter.

Reviewed-by: twisti, neliasso, kvn, simonis
2016-05-20 14:17:55 -07:00
Vladimir Ivanov
6dfcf1dd81 8154831: CastII/ConvI2L for a range check is prematurely eliminated
Reviewed-by: kvn, thartmann
2016-05-20 18:27:03 +03:00
Vladimir Ivanov
36daf60d8f Merge 2016-05-20 18:05:09 +03:00
Joseph Provino
5648deddee 8153582: Logging of ConcGCThreads is done too early
ConcGCThreads is logged as 0 because it hasn't been initialized yet.

Reviewed-by: tschatzl, dfazunen
2016-05-19 10:48:28 -04:00
Nils Eliasson
1af289e8c3 8155108: CompilerControl: tests incorrectly set states for excluded methods
Remove redundant code that was not properly updated

Reviewed-by: kvn
2016-05-19 10:40:19 +02:00
Doug Simon
64001ce527 8156835: [JVMCI] clean up and minimize JVMCI
Reviewed-by: iveresov, kvn
2016-05-18 21:50:27 +00:00
Roland Schatz
5686cc1784 8156942: [JVMCI] replace LIRKind with abstract base class
Reviewed-by: iveresov
2016-05-18 17:01:01 +00:00
Andreas Eriksson
46627989d5 8135322: ConstantPool::release_C_heap_structures not run in some circumstances
Reviewed-by: coleenp, sspitsyn
2016-05-18 11:06:00 +02:00
Claes Redestad
807e2b367c 8157090: SharedArchiveFile/SpaceUtilizationCheck.java fails as space utilization is below 30 percent
Reviewed-by: iklam, mseledtsov
2016-05-18 16:28:42 +02:00
Jiangli Zhou
d40a606f06 8149977: DumpLoadedClassList should not include generated classes
Exclude anonymous classes from the generated class list.

Reviewed-by: ccheung, iklam, hseigel
2016-05-17 17:42:16 -04:00
Alejandro Murillo
7bd620bff1 Merge 2016-05-14 15:34:30 -07:00
Christian Thalinger
d88959ebfb Merge 2016-05-13 21:26:06 +00:00
Joseph Provino
6be4410a0e 8156964: gc/logging/TestUnifiedLoggingSwitchStress.java hits assert
Old debug code needs to be removed.

Reviewed-by: stefank, jwilhelm
2016-05-13 15:57:17 -04:00
Jon Masamitsu
db0f9f020b 8156867: Simplify/reduce testing in ParallelCompact_test
Reviewed-by: jwilhelm, jprovino
2016-05-13 12:36:03 -07:00
Coleen Phillimore
178842d251 8155951: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
8151066: assert(0 <= i && i < length()) failed: index out of bounds

Lock classes for redefinition because constant pool merging isn't thread safe, use method constant pool because constant pool merging doesn't make equivalent cpCaches because of invokedynamic

Reviewed-by: sspitsyn, dholmes
2016-05-17 08:51:05 -04:00
Goetz Lindenmaier
e84506041e 8156929: [aix] Add missing includes
Reviewed-by: coleenp, dholmes
2016-05-17 03:26:07 -04:00
Martin Doerr
cb6496c297 8141635: Implement VarHandles/Unsafe intrinsics on POWER
Reviewed-by: shade, kvn, simonis
2016-05-13 22:21:54 +03:00
Goetz Lindenmaier
618f5131e6 8156922: [ppc] Implement template interpreter stack overflow checks as on x86/sparc
Reviewed-by: dlong, dholmes, simonis, coleenp
2016-05-13 15:20:06 +02:00
Harold Seigel
1fae073d9c 8156156: Add module specific NMT MemoryType
Change NMT tag for allocations for modules support to mtModule

Reviewed-by: coleenp, lfoltan, gtriantafill
2016-06-01 11:14:58 -04:00
Harold Seigel
737a2a5946 8158060: BasicLayerTest causes fatal error: Thread holding lock at safepoint that vm can block on: Module_lock
Move the exception throw outside of the block containing the lock

Reviewed-by: dholmes, kbarrett, lfoltan
2016-06-01 07:44:43 -04:00
Robbin Ehn
e456d998a8 8158150: LogConfiguration::describe output can get truncated
Reviewed-by: dholmes, kbarrett
2016-05-31 12:40:42 +02:00