Commit Graph

11744 Commits

Author SHA1 Message Date
Andrew Haley
dd9f85e74d 8160189: Fix for 8159335 breaks AArch64
Reviewed-by: kvn
2016-06-23 16:27:34 +00:00
Dmitrij Pochepko
ac81dcb779 Merge 2016-06-23 15:41:33 +00:00
Martin Doerr
1621ac0b42 8159976: PPC64: Add missing intrinsics for sub-word atomics
Reviewed-by: shade, goetz
2016-06-23 17:38:29 +02:00
Dmitrij Pochepko
8189de5608 8159730: compiler/jvmci/compilerToVM/IsMatureTest failed with "Multiple times invoked method should have method data (assert failed: 0 != 0)"
Reviewed-by: kvn
2016-06-23 17:40:20 +03:00
Dmitrij Pochepko
3ad2ec4ed4 8159803: Jittester: FileAlreadyExists exception during tests generation
Reviewed-by: iignatyev
2016-06-23 17:39:49 +03:00
Dmitrij Pochepko
7aca8d6fe4 8158650: [jittester] when generating tests with default parameters, generation hangs after 98 test
Reviewed-by: kvn, iignatyev
2016-06-23 17:39:06 +03:00
Doug Simon
46fa7d986a 8159613: [Findbugs] various warnings reported for JVMCI sources
Reviewed-by: kvn, twisti
2016-06-23 05:13:55 +00:00
Tom Rodriguez
5cfae90755 Merge 2016-06-22 23:31:33 +00: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
Igor Ignatyev
3f21781299 Merge 2016-06-23 00:37:25 +02:00
Tom Rodriguez
1e3a876d37 8159856: [JVMCI] InterpreterFrameSizeTest.java failed compilation
Reviewed-by: kvn, iveresov
2016-06-22 21:13:52 +00:00
Leonid Mesnik
773a50bc6f 8158581: ciReplay can not be run w/ JFR enabled
Reviewed-by: iignatyev, kvn
2016-06-22 20:06:39 +03: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
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
Jesper Wilhelmsson
f2490e9194 8024137: Flags should be set using the proper macro
Reviewed-by: sangheki, drwhite, jmasa
2016-06-21 19:37:30 +02:00
Jesper Wilhelmsson
464bfe497d 8048093: Explicitly setting := vs = in the -XX:+PrintFlagsFinal output
Reviewed-by: kvn, gziemski
2016-06-21 19:35:39 +02: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
Jon Masamitsu
d618ceab2e 8159073: : Error handling incomplete when creating GC threads lazily
Reviewed-by: drwhite, tschatzl, sangheki
2016-06-08 14:11:51 -07: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
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
Roland Schatz
bc9236dd30 8157428: [JVMCI] remove MemoryAccessProvider.readUnsafeConstant from API
Reviewed-by: iveresov
2016-05-31 20:43:12 +00:00
Tom Rodriguez
5fde888be3 Merge 2016-05-31 17:51:42 +00:00
Michail Chernov
7cb4e07b8d 8157954: [TESTBUG] G1 tests fail with defined MaxGCPauseMillis
Reviewed-by: jmasa, dfazunen, tschatzl
2016-05-31 20:31:08 +03:00
Josef Eisl
343a9e76a8 8157292: [JVMCI] add missing test files from 8156034
Reviewed-by: iveresov
2016-05-31 17:08:18 +00:00
Alejandro Murillo
9a95585602 Merge 2016-05-31 09:41:15 -07:00
Dmitrij Pochepko
fafec2b66c Merge 2016-05-31 13:58:28 +00:00
Igor Ignatyev
56be0b11f1 8153994: Compiler tests should be correctly marked with @module
Reviewed-by: kvn
2016-05-31 16:30:18 +03:00
Igor Ignatyev
fe34e32f2b 8158184: remove shell from compiler/c2/7070134/Stemmer.java
Reviewed-by: kvn
2016-05-31 16:29:45 +03:00
Igor Ignatyev
708d50417c 8158185: jdk/test/lib/FileInstaller throws NPE if dst is in current directory
Reviewed-by: kvn
2016-05-31 16:29:45 +03:00
Igor Ignatyev
7073d102f0 8158182: remove shell script from compiler/c2/6894807/IsInstanceTest.java
Reviewed-by: kvn
2016-05-31 16:29:45 +03:00
Dmitrij Pochepko
3f436dc952 8158065: [Jittester]: tests generation has tests generators hardcoded, blocking alternative tests generation
Reviewed-by: iignatyev
2016-05-31 15:48:47 +03:00
Igor Ignatyev
11504c438f 8073159: improve Test6857159.java
Reviewed-by: kvn
2016-05-31 15:12:09 +03:00
Vladimir Ivanov
b86eaee1a7 Merge 2016-05-31 15:10:10 +03:00
Igor Ignatyev
395f9470df 8152376: [TESTBUG] compiler/floatingpoint/Test15FloatJNIArgs should use run main/othervm/native
Reviewed-by: kvn
2016-05-30 23:33:00 +03:00
Igor Ignatyev
a0b8f9dc1a 8154123: remove commented action from jdk/vm/ci/runtime/test/ConstantTest.java
Reviewed-by: shade, kvn
2016-05-30 23:32:59 +03:00
Dalibor Topic
586c795882 8154469: Update FSF address
Updated Free Software Foundation's mailing address in LICENSE

Reviewed-by: rriggs, shade
2016-05-30 16:25:38 +02:00
Vladimir Ivanov
2a6a1c6b01 Merge 2016-05-30 15:04:03 +03:00
Vladimir Ivanov
a7ec30ae19 Merge 2016-05-27 17:01:27 +03:00
Teng Lu
cf20f6fff8 8157906: aarch64: some more integer rotate instructions are never emitted
Fix wrong definition of source operand of left rotate instructions

Reviewed-by: aph
2016-05-27 20:38:38 +08:00
Alejandro Murillo
e3dfc2043d Merge 2016-05-26 14:17:03 -07:00
Fei Yang
60fabf15a7 8156731: aarch64: java/util/Arrays/Correct.java fails due to _generic_arraycopy stub routine
Fix address calculation considering compressed oops _generic_arraycopy stub routine

Reviewed-by: aph
2016-05-27 01:02:16 +08:00
Lana Steuck
39f00868f7 Added tag jdk-9+120 for changeset afc9c8149b19 2016-05-26 16:02:14 +00: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
Nils Eliasson
24805477df 8157717: MultiCommand breaks directives amount limit
Increase directives amount for these tests

Reviewed-by: kvn, ppunegov
2016-05-26 14:17:49 +02:00
David Holmes
3568b43a30 Merge 2016-05-25 23:45:17 +02:00
David Holmes
15def391b5 8157175: GetNanoTimeAdjustment.java fails with excessive adjustment error
Reviewed-by: dcubed, gziemski
2016-05-25 16:23:15 -04: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
Ed Nevill
75909b48f3 8157841: aarch64: prefetch ignores cache line size
Fix prefetch to take account of cache line size

Co-authored-by: Stuart Monteith <stuart.monteith@linaro.org>
Reviewed-by: aph
2016-05-25 13:30:07 +00:00
Ed Nevill
7694596568 8157834: aarch64: Hello World crashes with fastdebug build
Support LL, UL and LU encodings of StrIndexOf

Reviewed-by: aph
2016-05-25 15:05:26 +00:00
Dmitrij Pochepko
ac5718b306 8156470: [JITtester] EOL on Windows
Reviewed-by: kvn
2016-05-25 16:22:31 +03:00
Dmitrij Pochepko
fdf9e5a63e 8156585: Cosmetic: AARCH64 defines in c1_LIRAssembler_aarch64.hpp
Reviewed-by: kvn
2016-05-25 16:20:02 +03:00
Paul Sandoz
e54a25914e 8157683: Thread.onSpinWait intrinsification doesn't have sufficient test coverage
Reviewed-by: kvn
2016-05-25 10:46:21 +02: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
255569b3a9 Merge 2016-05-24 13:39:18 +00:00
Dmitry Samersoff
d9be06bf8d Merge 2016-05-24 12:00:15 +00:00
Vladimir Ivanov
3221da3cf7 Merge 2016-05-24 14:13:57 +03:00
Cheleswer Sahu
93043ecb8f 8150900: Implement diagnostic_pd
Reviewed-by: twisti, gziemski, kevinw
2016-05-24 16:02:45 +05:30
Staffan Larsen
76311d7285 8157605: Can't set both CONCURRENCY and EXTRA_JTREG_OPTIONS when running tests
Reviewed-by: tbell, erikj
2016-05-24 12:15:46 +02:00
Dmitry Samersoff
ac8a504622 Merge 2016-05-24 10:03:07 +00:00
Dmitry Samersoff
6e4ea797f3 8155957: java.lang.IllegalAccessError: class <foo> (in unnamed module XXX) cannot access class jdk.internal.misc.Unsafe
Added missed exports

Reviewed-by: sspitsyn
2016-05-24 12:56:41 +03:00
Ed Nevill
6a56a5f255 8156943: aarch64: string compare does not support CompactStrings
Implement LL, UL and LU encodings for StrComp

Reviewed-by: aph
2016-05-24 01:13:57 -07:00
Tobias Hartmann
d99ab903b7 8160425: Vectorization with signalling NaN returns wrong result
Should not use doubles/floats for vector constants in the C code.

Reviewed-by: kvn, vlivanov
2016-06-30 08:24:51 +02:00
Pavel Punegov
320a29cbe4 8160471: compiler/rangechecks/TestRangeCheckEliminationDisabled.java fails after JDK-8150900
Add UnlockDiagnosticVMOptions to the test

Reviewed-by: kvn, thartmann
2016-06-29 18:04:04 +03:00
Tatiana Pivovarova
c38fb9f0c8 Merge 2016-06-29 11:38:58 +00:00
Tatiana Pivovarova
8caad345fd 8153515: [ctw] CompileTheWorld testlibrary should trigger compilation of <clinit> and <init>
Reviewed-by: thartmann
2016-06-29 14:32:13 +03:00
Ed Nevill
27cd22b69a 8160534: aarch64: fails to build after 8157834
Add missing #include

Reviewed-by: aph
2016-06-29 11:24:13 +00:00
Tom Rodriguez
7c7e22abfd Merge 2016-06-28 20:08:43 +00:00
Tom Rodriguez
b4aef2060b 8160121: [JVMCI] JvmciNotifyBootstrapFinishedEventTest.java failed NoClassDefFoundError: jdk/vm/ci/runtime/JVMCI
Reviewed-by: kvn
2016-06-28 17:22:56 +00:00
Tatiana Pivovarova
f1d61f4340 8143081: [ctw] Test CompileTheWorld.java needs to be updated for Jigsaw
Reviewed-by: iignatyev
2016-06-28 19:58:15 +03:00
Dmitrij Pochepko
490625cd8b 8132318: -XX:TraceJumps is broken on Sparc
Reviewed-by: kvn, thartmann
2016-06-27 17:23:15 +03:00
Tobias Hartmann
4ab4c66c41 8159016: Over-unrolled loop is partially removed
Prevent over-unrolling of loops by computing upper bound for trip count.

Reviewed-by: kvn
2016-06-27 10:10:11 +02:00
Vladimir Kozlov
cd75cb6a26 Merge 2016-06-24 15:30:50 -07:00
Igor Veresov
c3db7375dc Merge 2016-06-24 19:06:00 +00:00
Igor Veresov
33c94b986e 8157249: [JVMCI] remove ConstantReflectionProvider.isEmbeddable method
Remove unused API

Reviewed-by: kvn
2016-06-24 11:22:08 -07:00
Pavel Punegov
57c68f2ac1 Merge 2016-06-24 17:12:50 +00:00
Roland Schatz
1dd1fb6cca Merge 2016-06-24 17:11:17 +00:00
Pavel Punegov
048c1f8ad0 8160085: @library' must appear before first `@run'
Move @ignore after the @library

Reviewed-by: kvn
2016-06-24 19:06:15 +03:00
Roland Schatz
1ecfe15d17 8160177: [JVMCI] race condition in HotSpotMemoryAccessProviderImpl.verifyReadRawObject
Reviewed-by: kvn
2016-06-24 15:45:47 +00: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
Ed Nevill
5db23a3b07 8159063: aarch64: optimise unaligned array copy long
Reviewed-by: aph, adinn
2016-06-16 06:42:08 -04: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
Alejandro Murillo
8eb7fed92f Merge 2016-05-23 13:52:12 -07:00
Alejandro Murillo
45db3a55b0 Merge 2016-05-23 09:30:18 -07:00
Igor Ignatyev
c912a69689 8156681: Add jtreg wrapper for hotspot gtest tests
Reviewed-by: jwilhelm, ehelin
2016-05-23 17:49:57 +03:00
Dmitrij Pochepko
34c101efc6 8157438: JVMCI: MaterializeVirtualObjectTest fails w/ "CASE: invalidate=true: has no virtual object before"
Reviewed-by: kvn
2016-05-23 17:33:39 +03:00
Gustavo Romero
066208e368 8154156: PPC64: improve array copy stubs by using vector instructions
Reviewed-by: goetz, mdoerr
2016-05-23 10:35:51 -03:00
Igor Ignatyev
05540f90da 8157821: [JITtester] OptionResolver and LiteralFactory use deprecated c-tors
Reviewed-by: kvn
2016-05-27 17:12:10 +03:00
Igor Ignatyev
1b5b717f54 8156469: [JITtester] Difference in generated golden output when run with Jigsaw build
Reviewed-by: vlivanov
2016-05-27 17:12:09 +03: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
Alan Bateman
8fe0416551 8152650: ModuleFinder.compose should accept varargs
Reviewed-by: mchung
2016-05-21 08:00:33 +01: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
Alejandro Murillo
a4eeccb502 Merge 2016-05-20 11:30:51 -07:00
Alejandro Murillo
e81bc31a88 Merge 2016-05-20 11:23:53 -07:00
Christian Tornqvist
3469a820b9 Merge 2016-05-20 16:39:40 +00: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
Christian Tornqvist
870555cea0 Merge 2016-05-20 14:57:18 +00:00
Michail Chernov
1570c8ce43 8154787: gc/g1/Test2GbHeap.java fails with java.lang.RuntimeException
Reviewed-by: jprovino, dfazunen, jmasa, drwhite
2016-05-20 14:53:13 +03:00
David Holmes
81a0fa24dd 8149901: [Solaris] Use of -XX:+UseThreadPriorities crashes fastdebug
Reviewed-by: gziemski, sspitsyn
2016-05-20 01:47:32 -04:00
Jon Masamitsu
08962e6714 8157373: Active workers should not be reset in AbstractWorkGang initialize()
Reviewed-by: kbarrett, tschatzl, jwilhelm
2016-05-19 14:53:18 -07:00
Jon Masamitsu
2899284bf6 Merge 2016-06-11 00:12:28 +00:00
Alejandro Murillo
abad4a1dbc Merge 2016-06-10 15:19:32 -07:00
Vladimir Kozlov
96627b1708 Merge 2016-06-10 20:28:46 +02:00
Vladimir Kozlov
1246644d4d Merge 2016-06-10 10:13:30 -07:00
Jon Masamitsu
35ba62637e 8026752: Cancel MetaspaceGC request for a CMS concurrent collection after GC
Reviewed-by: sjohanss, sangheki
2016-06-10 09:22:09 -07:00
Stefan Karlsson
d019f34077 8159237: PreservedMarks verification code fails
Reviewed-by: lmesnik, jwilhelm
2016-06-10 14:06:36 +02:00
Goetz Lindenmaier
59e5844219 8159056: [aix] Compressed class space not allocated in lower regions
Reviewed-by: dholmes, enevill
2016-06-08 16:07:49 +02:00
Leonid Mesnik
84cab6c56f 8156032: Clean up parallel GC specific code from vm/gc/shared/preservedMarks.cpp
Reviewed-by: stefank, tschatzl
2016-06-09 16:52:32 +03:00
Stefan Johansson
aa9857b6e2 8157243: JMap heap test fail when used with external heap
Reviewed-by: dsamersoff, ehelin
2016-06-08 16:26:11 +02:00
Stefan Johansson
ec6f427ecc 8146530: [testbug] some tests fail because the compiler is using Java heap memory
Reviewed-by: jwilhelm, jmasa, kvn
2016-06-09 13:24:44 +02:00
Jiangli Zhou
7631840502 Merge 2016-06-09 00:53:07 +02:00
Jiangli Zhou
81ff3b7d93 8158681: ClassLoader::classloader_type() is called from code not included under #if INCLUDE_CDS
Place CDS related code under #if INCLUDE_CDS.

Reviewed-by: lfoltan, gtriantafill, coleenp
2016-06-08 18:47:05 -04:00
Calvin Cheung
27f9eddfc2 8159019: ResourceMark in ClassLoader::open_versioned_entry() is being used incorrectly
Call FREE_RESOURCE_ARRAY instead of declaring a ResourceMark

Reviewed-by: hseigel, jiangli
2016-06-08 12:50:23 -07:00
Max Ockner
fecc46c774 Merge 2016-06-08 18:09:04 +02:00
Stefan Johansson
09caec497d 8149085: IntegrationTest1.java fails intermittently due to use of semi-initialized TLAB
Reviewed-by: ehelin, mgerdin
2016-06-08 16:29:12 +02:00
Stefan Karlsson
23e05cabc5 8155638: Resource allocated BitMaps are often cleared twice
Reviewed-by: neliasso, kvn
2016-06-08 11:15:49 +02:00
Coleen Phillimore
47309c3715 8158297: Lack of proper checking of non-well formed elements in CONSTANT_Utf8_info's structure
Disallow // in class file names during parsing and throw ClassNotFoundException

Reviewed-by: sspitsyn, rehn, gtriantafill
2016-06-07 15:34:22 -04:00
Rachel Protacio
abbd13bc13 Merge 2016-06-07 18:17:41 +00:00
Erik Joelsson
9843c160eb Merge 2016-06-07 19:05:37 +02:00
Volker Simonis
4a9d6dcbba 8158938: AIX: some more new hotspot build fixes
Reviewed-by: erikj
2016-06-07 18:26:10 +02:00
Rachel Protacio
e956abefe6 8153858: Clean up needed when obtaining the package name from a fully qualified class name
Consolidated and refactored code parsing fully qualified names. Includes gtest.

Reviewed-by: dholmes, coleenp
2016-06-07 11:39:47 -04:00
Goetz Lindenmaier
7bd006dd5a 8158929: [TESTBUG] CommitOverlappingRegions.java can not deal with pages > 32K
Reviewed-by: mockner, dholmes
2016-06-07 16:08:25 +02:00
Leonid Mesnik
f35b70764b 8154209: Remove client VM from default JIB profile on windows-x86 and linux-x86
Reviewed-by: dholmes
2016-06-07 12:55:29 +03:00
Calvin Cheung
b0fab9d6b7 Merge 2016-06-07 00:57:23 +00:00
Calvin Cheung
0275bab2ce Merge 2016-06-07 00:06:17 +00:00
Markus Grönlund
cbe83ea707 Merge 2016-06-07 01:58:33 +02:00
Calvin Cheung
66e3ba7296 8153876: Replace 4K stack allocations with Resource allocations
Reviewed-by: dholmes, hseigel
2016-06-06 12:51:53 -07:00
Aleksey Shipilev
2137769825 8075030: JvmtiEnv::GetObjectSize reports incorrect java.lang.Class instance size
Reviewed-by: coleenp, sspitsyn, sla
2016-06-06 22:34:57 +03:00
Markus Grönlund
c82212e143 8149803: Adjust lock rankings for some Event-based tracing locks
Reviewed-by: dholmes, acorn
2016-06-06 20:48:56 +02:00
Jon Masamitsu
c3d0e73480 8157620: Guarantee in run_task(task, num_workers) fails
Reviewed-by: tschatzl, drwhite
2016-05-25 09:28:20 -07:00
Jon Masamitsu
8821cffac1 8157240: GC task trace logging is incomprehensible
Reviewed-by: tschatzl, redestad
2016-05-19 13:59:50 -07:00
Stefan Karlsson
ea82c69b6e 8159893: StringTable cleaning log line lacks the GC ID prefix
Reviewed-by: pliden, jmasa
2016-06-21 14:00:18 +02:00
Daniel D. Daugherty
8f7e6e317c 8068592: Remove unused code in objectMonitor.hpp
Reviewed-by: dholmes, redestad, gthornbr
2016-07-07 14:58:17 -07:00
Alan Burlison
4d5d6cabdd 8160350: cannot truss jdk9 [ solaris ]
Removed no longer needed code to enable or test for vtime support.

Reviewed-by: kbarrett, dcubed, gthornbr
2016-07-07 15:40:36 -04:00
Zoltan Majo
567113bed6 Merge 2016-07-06 12:01:07 +00:00
Thomas Schatzl
7fd90042ca 8159978: Use an array to store the collection set regions instead of linking through regions
Fix a potential problem with memory visibility in the sampling thread in the collection set by changing the way we store the collection set.

Reviewed-by: ehelin, jmasa
2016-07-06 11:22:55 +02:00
Zoltan Majo
e0e3bd5582 8160527: Check for final instance field updates can be omitted
Disable final field resolution in the constant pool cache. Correct error message printed at field resolution. New tests.

Reviewed-by: jrose, coleenp
2016-07-06 11:16:36 +02:00
Daniel D. Daugherty
9a3dc1d8cc Merge 2016-07-05 21:24:24 +00:00
Daniel D. Daugherty
65ae838dbf 8160739: quarantine tests failing due to -XX:TieredStopAtLevel=1
8160743: quarantine tests that can't attach symbolicator to the process on MacOS X

Reviewed-by: sspitsyn, dholmes, kvn
2016-07-05 14:00:21 -07:00
Derek White
2e1b011569 8158946: btree009 fails with assert(s > 0) failed: Bad size calculated
Set oop_size before setting _klass

Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2016-07-05 15:34:06 -04:00
Kim Barrett
4e25b9f930 Merge 2016-07-05 20:09:21 +02:00
Yasumasa Suenaga
146cbf3702 8160353: narrowing conversion error is occurred with GCC 6
Reviewed-by: kbarrett, dholmes
2016-07-04 12:43:01 +09:00
Yasumasa Suenaga
82858779e9 8160361: SEGV occurred at JNIHandleBlock::oops_do(OopClosure*)
Reviewed-by: dsamersoff, tschatzl
2016-06-28 00:24:10 +09:00
Per Lidén
3ad9aa0f10 8159974: G1 String deduplication logging not aligned with the rest of G1
Reviewed-by: stefank, tschatzl
2016-07-04 11:27:11 +02:00
Alejandro Murillo
a1dcb34cdc Merge 2016-07-02 00:26:51 +00:00
Alejandro Murillo
3fdd758961 Merge 2016-07-01 16:55:44 -07:00
Jon Masamitsu
3af1b64ce1 8024945: Remove check on minimum size of MetaspaceSize
Reviewed-by: kbarrett, tschatzl
2016-06-13 14:10:09 -07:00
Lana Steuck
0eb01672dd Merge 2016-05-19 19:45:52 +00:00
Vladimir Kozlov
5acfcd3615 8157184: java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java failed with a fatal error
Add missing cache_line_size > 0 checks.

Reviewed-by: vlivanov, kbarrett
2016-05-19 11:01:38 -07:00
Lana Steuck
dd30421115 Added tag jdk-9+119 for changeset 45c70a976569 2016-05-19 17:48:01 +00:00
Christian Tornqvist
1fc82093ca Merge 2016-05-19 11:39:53 -04: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