Commit Graph

11535 Commits

Author SHA1 Message Date
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
Igor Ignatyev
23e0d96f6e 8132920: use package in compiler testlibraries
Reviewed-by: kvn, psandoz
2016-06-22 00:29:32 +03:00
Igor Ignatyev
300dc664ff 8160025: compiler/testlibrary/uncommontrap/Verifier doesn't close FileReader
Reviewed-by: kvn
2016-06-22 21:24:07 +03:00
Andrew Dinn
6c974f899f 8160006: Fix AArch64 after changes made by 8151661
Reviewed-by: kvn
2016-06-21 13:15:56 -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
Dmitry Fazunenko
708c94be94 8151283: Implement setting jtreg @requires property vm.isG1Supported
Reviewed-by: tschatzl, iignatyev, mchernov
2016-06-21 18:37:04 +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
a52192d206 Merge 2016-06-20 17:38:14 +00: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
George Triantafillou
2e16218e6d 8157592: StackTraceLogging fails with stack overflow on 32-bit Windows
Reviewed-by: coleenp, dholmes, jiangli
2016-06-20 07:45:03 -04:00
Paul Sandoz
152f87ef6c 8158039: VarHandle float/double field/array access should support CAS/set/add atomics
Reviewed-by: shade, vlivanov, darcy
2016-06-20 13:06:33 +02: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
Dmitry Fazunenko
b199df41f5 Merge 2016-06-17 19:04:09 +00:00
Michail Chernov
4dd736d71a 8158412: [TESTBUG] TestIHOPErgo and TestStressG1Humongous should not be executed when JFR is enabled
Reviewed-by: dfazunen, tschatzl
2016-06-17 18:45:09 +03: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
Leonid Mesnik
f04cf89a79 8157831: JVMCI tests should not be executed on linux-arm32
Reviewed-by: dpochepk, dholmes
2016-06-17 13:07:27 +03:00
Lana Steuck
c01f83171a Merge 2016-06-16 20:57:05 +00:00
Lana Steuck
43ed5d5c47 Added tag jdk-9+123 for changeset 407ee1280983 2016-06-16 19:07:26 +00: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
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
Igor Ignatyev
063397934d 8159149: Several compiler tests fail with minimal VM
Reviewed-by: kvn, psandoz
2016-06-16 01:43:11 +03:00
Igor Ignatyev
46225e207d 8158754: compilercontrol tests: RandomCommandsTest.java and RandomValidCommandsTest.java - fail in PIT
Reviewed-by: neliasso
2016-06-15 22:58:04 +03:00
Robbin Ehn
f5b4d9e51f 8149778: serviceability/tmtools/jstat/GcCapacityTest.java causes JVM to hang during GC
Reviewed-by: pliden, stefank
2016-06-15 09:43:42 +02:00
Harold Seigel
2d7e2d242f Merge 2016-06-14 19:30:19 +00:00
George Triantafillou
69bdc4f247 8159328: [TESTBUG] ProblematicFrameTest.java throws an exception (due to trying to access Unsafe) but still passes
Reviewed-by: hseigel, ddmitriev
2016-06-14 14:31:36 -04:00
George Triantafillou
ada2d65793 8159255: [TESTBUG] XpatchJavaBase.java compilation failure
Reviewed-by: lfoltan, hseigel, ddmitriev
2016-06-14 14:35:34 -04:00
Kirill Zhaldybin
dd9df0a16c Merge 2016-06-14 19:38:44 +02:00
Kirill Zhaldybin
0f8af0955c 8132713: Add tests which check that Humongous objects behave as expected after finishing ConcMark Cycle
Reviewed-by: tschatzl, dfazunen
2016-06-14 19:15:27 +03:00
Tom Rodriguez
fcff9c216b 8159010: [JVMCI] crashes with class redefinition
Reviewed-by: kvn
2016-06-13 17:36:57 -07:00
Gilles Duboscq
f81f745028 8159236: [JVMCI] Window-saved SPARC registers should not be considered callee-save
Reviewed-by: iveresov
2016-06-17 16:50:49 +00:00
Gustavo Romero
0fd874e9c5 8158260: PPC64: unaligned Unsafe.getInt can lead to the generation of illegal instructions
Adjust instruction generation.

Co-authored-by: Hiroshi H Horii <horii@jp.ibm.com>
Reviewed-by: goetz
2016-06-17 11:31:24 +02:00
Roland Schatz
9f373603a0 8159167: [JVMCI] fix HotSpotVMConfig startup performance
Reviewed-by: iveresov
2016-06-16 16:41:50 +00: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
Erik Helin
1d07931eae 8159366: Header guards missing for unittest.hpp
Reviewed-by: jwilhelm, stefank, pliden
2016-06-13 13:52:38 +02:00
Erik Helin
d39f9a9b55 8159365: assert is not defined for unit tests
Reviewed-by: jwilhelm, coleenp
2016-06-13 13:54:46 +02:00
Erik Helin
3be991b9fb 8159364: Gtest unit tests does not support PCH
Reviewed-by: erikj, jwilhelm, gtriantafill
2016-06-13 13:48:37 +02:00
Markus Grönlund
de7ab979ec 8158033: Notify_tracing() misplaced for intended purpose
Reviewed-by: egahlin, dholmes
2016-06-13 11:48:11 +02:00
Erik Helin
1fd8321e15 8159340: Add extension to CompileGtest.gmk
Reviewed-by: dholmes, gtriantafill, jwilhelm
2016-06-13 11:22:23 +02:00
Yasumasa Suenaga
fce572affb 8156181: UL: File size limit on 32 bit Linux
Reviewed-by: mlarsson, dholmes
2016-06-20 00:07:51 -04:00
Coleen Phillimore
39b4f0d53e Merge 2016-06-19 20:14:37 -04:00
Robbin Ehn
9eeb285818 8072440: serviceability/dcmd/ tests timeout
Reviewed-by: sla, mlarsson
2016-06-13 10:10:35 +02:00
Goetz Lindenmaier
8a945875b6 8159335: Fix problems with stack overflow handling
Reviewed-by: dlong, coleenp, mdoerr
2016-06-13 09:28:25 +02:00
Alejandro Murillo
00815d4c03 Merge 2016-06-10 15:13:37 -07:00
Lana Steuck
33e732458e Added tag jdk-9+122 for changeset 40c900f520ce 2016-06-09 17:28:36 +00:00
Goetz Lindenmaier
8bb3799029 8159156: [TESTBUG] ReserveMemory test is not useful on Aix
Reviewed-by: dholmes
2016-06-09 15:17:18 +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
Alejandro Murillo
0aaf070215 Merge 2016-06-06 09:58:03 -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
Max Ockner
69d4ee5887 Merge 2016-06-03 05:38:08 +02: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
Alejandro Murillo
e8db159098 Merge 2016-06-03 01:31:01 +00:00
Coleen Phillimore
60eea7f11f Merge 2016-06-02 23:57:07 +00:00
Alejandro Murillo
d07cb6c061 Merge 2016-06-02 15:07:51 -07:00
Alejandro Murillo
faccce5581 Merge 2016-06-02 14:58:50 -07:00
Lana Steuck
c874294e95 Merge 2016-06-02 21:14:51 +00:00
Lana Steuck
cfb3655bc6 Added tag jdk-9+121 for changeset 513b90c8a326 2016-06-02 20:33:33 +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
Stefan Johansson
277d5f6f08 8152239: hotspot/test/gc/TestSmallHeap.java failed in jdk9
Reviewed-by: mgerdin, dfazunen, mchernov
2016-06-02 09:44:41 +02:00
Igor Ignatyev
4dad69bb2e 8149043: Fix code indentation in test/compiler/stable tests
Reviewed-by: vlivanov
2016-06-01 09:13:10 +03: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
Michihiro Horie
2ade029123 8158232: PPC64: improve byte, int and long array copy stubs by using VSX instructions
Reviewed-by: goetz, mdoerr
2016-06-15 13:47:17 +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
Dean Long
467a5400d2 8158360: C1: SEGV in generated code
Update test to store Object fields

Reviewed-by: kvn
2016-06-14 18:07:41 -07:00
Dean Long
7846b3a26c 8159282: quarantine compiler/jvmci/compilerToVM/ReprofileTest.java
Reviewed-by: iignatyev
2016-06-14 15:10:05 -07:00
Doug Simon
62a2685b4b 8158351: [JVMCI] NoClassDefFoundError: jdk/vm/ci/runtime/JVMCI
Reviewed-by: kvn, vlivanov
2016-06-10 02:43:53 +00:00
Felix Yang
067e915c50 8158913: aarch64: SEGV running Spark terasort
Use signed instead of unsigned test for end of loop in gen_write_ref_array_post_barrier

Reviewed-by: aph
2016-06-07 10:17:28 +00:00
Doug Simon
dafa4695a0 8158985: [JVMCI] access to HotSpotJVMCIRuntime.vmEventListeners must be thread safe
Reviewed-by: iveresov, kvn
2016-06-07 17:16:51 -07: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
Doug Simon
fce865ff45 8158000: [JVMCI] remove unused ParseClosure class
Reviewed-by: kvn
2016-06-02 17:52:42 +00:00
Tobias Hartmann
cf967f79ab Merge 2016-06-02 14:54:35 +00:00
Fei Yang
2e85bb45ff 8149418: AArch64: replace tst+br with tbz instruction when tst's constant operand is 2 power
Replace tst+br with tbz instruction when tst's constant operand is 2 power

Reviewed-by: aph
2016-06-02 21:12:46 +08:00
Tobias Hartmann
f92cc0c836 8158214: Crash with "assert(VM_Version::supports_sse4_1()) failed" if UseSSE < 4 is set
Do not emit unsupported SSE 4.1 instructions in CRC32 intrinsic.

Reviewed-by: kvn, zmajo
2016-06-02 13:19:05 +02: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
e4102fbe67 8157842: indexOfChar intrinsic is not emitted on x86
Matcher::match_rule_supported() should check for !UseSSE42Intrinsics.

Reviewed-by: roland, rbackman, shade, kvn
2016-06-01 16:36:44 +02:00