7571 Commits

Author SHA1 Message Date
Dmitry Dmitriev
90f957ddb1 8160102: Typo in message for NULL memory size arguments in diagnosticArgument.cpp
Reviewed-by: dholmes, rehn
2016-06-24 12:08:32 +03:00
Alejandro Murillo
080739ce03 Merge 2016-06-23 17:11:18 -07:00
Alejandro Murillo
f7095d870c Merge 2016-06-23 17:07:27 -07:00
Alex Henrie
4abb5e4aaf 8157758: JDK9 does not compile on Linux with GCC 6.1 because left-shifting a negative number has undefined behavior
Replace shifts of -1 with shifts of ~0u.

Reviewed-by: kbarrett, mockner
2016-06-23 16:46:41 -04:00
Tom Rodriguez
d64a4e7df3 8158850: [JVMCI] be more precise when enforcing OopMapValue encoding limitations
Reviewed-by: kvn
2016-06-22 22:39:32 +00:00
Erik Helin
109e24d96e 8155099: Remove duplicate comments from G1Policy
Reviewed-by: jmasa, drwhite
2016-06-22 14:03:01 +02:00
Aleksey Shipilev
f6c1efe6ac 8156803: Turn StressLCM/StressGCM flags to diagnostic
Reviewed-by: kvn, ctornqvi
2016-06-22 13:29:09 +03:00
Thomas Schatzl
28bdc19b1b Merge 2016-06-22 10:49:23 +02:00
Thomas Schatzl
423717c156 8152438: Threads may do significant work out of the non-shared overflow buffer
Before processing an element in the non-shared overflow buffer, try to push it into the local shared buffer to keep it full.

Reviewed-by: jmasa, ehelin, sjohanss
2016-06-22 10:34:01 +02:00
Yasumasa Suenaga
161976b05f 8153743: AllocateHeap() and ReallocateHeap() should use ALWAYSINLINE macro
Reviewed-by: dholmes, zgu
2016-06-21 19:29:39 -04:00
Martin Doerr
afc9349c93 8155949: Support relaxed semantics in cmpxchg
Co-authored-by: Hiroshi H Horii <horii@jp.ibm.com>
Reviewed-by: dholmes, kbarrett, goetz, aph
2016-06-21 19:25:41 -04:00
Rahul Raghavan
f8e4173a4e 8151661: Performance regression on Solaris-SPARC in 9-b103
Reviewed-by: kvn, aph
2016-06-21 13:14:33 -04:00
Erik Helin
3895ad9e00 8159370: Add FlagGuard for easier modification of flags for unit tests
Reviewed-by: kbarrett, jwilhelm
2016-06-21 15:02:45 +02:00
Claes Redestad
038bf7d790 8159590: Remove deprecated methods from jdk.internal.misc.VM
Reviewed-by: chegar, dholmes
2016-06-21 12:09:36 +02:00
Yasumasa Suenaga
5ae683a18f 8155730: HeapInfoDCmd should get Heap_lock
Reviewed-by: tschatzl, jprovino
2016-06-21 09:19:53 +02:00
Ioi Lam
79377a1bf1 8159666: Better CDS support for Event-based tracing
Reviewed-by: jiangli, mgronlun
2016-06-20 22:02:20 -07:00
Coleen Phillimore
00314964d6 8159470: Error message for ICCE for MethodHandle constant pool not helpful
Reworded message and added test.

Reviewed-by: hseigel, gtriantafill, dholmes
2016-06-20 12:28:14 -04:00
Carsten Varming
cc10eca0b0 8159720: Failure of C2 compilation with tiered prevents some C1 compilations
If C2 fails to compile a method with tiered compilation, then it should mark the method as not compileable on the C2 tier only.

Reviewed-by: twisti, thartmann
2016-06-20 08:11:22 -04:00
Rachel Protacio
c77d3aa077 Merge 2016-06-17 15:06:47 +00:00
Rachel Protacio
36ac8c8a00 8153394: Add Unified Logging to make it easy to trace time taken in initPhase2
Added modules+startuptime logging for initPhase2 via TraceTime class

Reviewed-by: rehn, hseigel, mockner
2016-06-17 10:46:55 -04:00
Lois Foltan
f3741800fe 8156871: Possible concurrency issue with JVM_AddModuleExports
Need for single PackageEntry flag to determine a package's unqualifed export state.

Reviewed-by: acorn, ctornqvi, dholmes, jiangli
2016-06-16 13:34:32 -04:00
Volker Simonis
87f15c2bcf 8159620: -XX:-UseOnStackReplacement does not work together with -XX:+TieredCompilation on ppc64 and sparc
Reviewed-by: goetz, kvn, thartmann
2016-06-22 17:05:40 +02:00
Coleen Phillimore
eba25b33b9 8152271: MemberNameTable doesn't purge stale entries
Intern MemberNames in table instead of allocating new entries

Reviewed-by: vlivanov, sspitsyn, dholmes
2016-06-15 09:48:24 -04:00
Per Lidén
6ef961edbd Merge 2016-06-15 12:44:20 +02:00
Per Lidén
b8668ac945 8159350: G1 String deduplication logging malformed
Reviewed-by: stefank, sjohanss
2016-06-15 10:46:20 +02:00
Robbin Ehn
048538542a 8154106: UL Xlog:help regd'g 'rt' tag
Reviewed-by: mlarsson, mockner, gtriantafill
2016-06-15 09:54:12 +02:00
Rickard Bäckman
14621ff60c 8139379: Tests fail with assert(nm->insts_contains(original_pc)) failed: original PC must be in nmethod
Reviewed-by: mgronlun, neliasso
2016-06-15 09:46:15 +02:00
Tobias Hartmann
6294f0770b 8159715: Fix for 8072422 is incorrect
Fixed several issues introduced by 8072422.

Reviewed-by: zmajo, kvn
2016-06-20 09:32:44 +02:00
Roland Schatz
9f373603a0 8159167: [JVMCI] fix HotSpotVMConfig startup performance
Reviewed-by: iveresov
2016-06-16 16:41:50 +00:00
Coleen Phillimore
39b4f0d53e Merge 2016-06-19 20:14:37 -04:00
Goetz Lindenmaier
8a945875b6 8159335: Fix problems with stack overflow handling
Reviewed-by: dlong, coleenp, mdoerr
2016-06-13 09:28:25 +02:00
Erik Helin
19c8ab3cdb 8159045: Remove const from methods returning size_t in threadLocalAllocBuffer.hpp
Reviewed-by: sjohanss, jmasa
2016-06-08 13:24:36 +02:00
Max Ockner
680e1a3a28 8157490: JCK test vm/jni/DefineClass/dfcl001/dfcl00101m1/dfcl00101m1 crashes when run with -Xlog:classload=info
Null stream->source() no longer causes error with -Xlog:class+load

Reviewed-by: lfoltan, coleenp
2016-06-13 13:47:21 -04:00
Coleen Phillimore
349599133d Merge 2016-06-13 14:00:26 +00:00
Coleen Phillimore
fea4ad3fef 8158237: JVMTI hides critical debug information for memory leak tracing
Remove _backtrace as hidden field, original problem no longer exists

Reviewed-by: sspitsyn, jiangli
2016-06-13 09:02:47 -04:00
Markus Grönlund
de7ab979ec 8158033: Notify_tracing() misplaced for intended purpose
Reviewed-by: egahlin, dholmes
2016-06-13 11:48:11 +02: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