Commit Graph

1078 Commits

Author SHA1 Message Date
Harold Seigel
d7ea24479b 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: coleenp, lfoltan, mchung
2016-08-10 15:48:04 -07:00
Dmitrij Pochepko
dfce7d89bf 8163366: compiler/codecache/jmx/ThresholdNotificationsTest.java doesn't set -XX:+UnlockDiagnosticVMOptions while using WB
Reviewed-by: kvn
2016-08-09 14:17:28 +03:00
Dmitrij Pochepko
432e69e8fe 8160083: compiler.codecache.jmx.InitialAndMaxUsageTest can not be used w/ disabled SegmentedCodeCache
Reviewed-by: kvn
2016-08-09 14:16:44 +03:00
Doug Simon
e9ea1b08e8 8163105: SIGSEGV: constantPoolHandle::constantPoolHandle(ConstantPool*)
Simplify CompilerToVM.getConstantPool() and related tests.

Reviewed-by: kvn, zmajo
2016-08-08 17:06:21 +02:00
Dmitrij Pochepko
91f0706600 8163243: [TESTBUG] compiler/codecache/jmx/UsageThresholdIncreasedTest.java failed with: Failed to find sun/hotspot/WhiteBox.class
Reviewed-by: iveresov
2016-08-08 11:30:46 +03:00
Igor Veresov
3c025b715c Merge 2016-08-05 13:37:53 -07:00
Dmitrij Pochepko
8d7182f2a7 8157498: compiler/codecache/jmx/InitialAndMaxUsageTest.java times out on 32-bit platforms
Reviewed-by: kvn
2016-08-05 16:23:44 +03:00
Dmitrij Pochepko
b06d871fad 8161279: Various JMX-tests timed out
Reviewed-by: kvn
2016-08-05 16:22:30 +03:00
Max Ockner
3d98a46718 Merge 2016-08-04 23:17:33 +02:00
Max Ockner
9465d5512a 8145543: JPRT jobs see intermittent failures in compiler/floatingpoint/ModNaN.java
Not reproducible due to glibc patch which affects current and previous versions. Removed @ignore for compiler/floatingpoint/ModNaN.java

Reviewed-by: coleenp, gtriantafill
2016-08-04 12:55:28 -04:00
Leonid Mesnik
127367ce74 8162852: Mark stress compiler and gc tests with stress keyword
Reviewed-by: kvn, tschatzl
2016-08-04 14:04:14 +03:00
Tobias Hartmann
af8e1270cb 8136818: Test compiler/arraycopy/TestEliminatedArrayCopyDeopt.java fails with "m1 failed"
Added missing Op_StoreB check to ArrayCopyNode::may_modify_helper().

Reviewed-by: kvn
2016-08-04 10:34:34 +02:00
Tobias Hartmann
13fca14037 8162881: Effect of -XX:CICompilerCount depends on ordering of other flags
Value of CICompilerCount should be range checked after ergo. Don't create C2 compiler threads with TieredStopAtLevel=1.

Reviewed-by: kvn
2016-08-04 08:58:22 +02:00
Tom Rodriguez
70110abb7a Merge 2016-08-03 15:52:38 +00:00
Vladimir Kozlov
836b73b338 8163018: Slow compiler tests in JPRT
Fixed test/TEST.groups and added -XX:-TieredCompilation to Test6792161 test.

Reviewed-by: dholmes, dcubed
2016-08-02 19:46:29 -07:00
Tom Rodriguez
d77fbe8b1b 8162477: [JVMCI] assert(wf.check_method_context(ctxk, m)) failed: proper context
Reviewed-by: kvn
2016-08-02 17:12:16 -07:00
Rickard Bäckman
5ce5d9f4cc Merge 2016-07-29 09:23:05 +02:00
Dmitrij Pochepko
757db81501 8162603: Unrecognized VM option 'UseCountedLoopSafepoints'
Reviewed-by: kvn
2016-07-28 16:09:31 +03:00
David Holmes
5c9019c64a 8140723: Remove source code conditionalized on JAVASE_EMBEDDED
Reviewed-by: twisti, fparain, cjplummer
2016-07-26 23:52:25 -04:00
Roland Westrelin
3636d8f3d5 8161147: jvm crashes when -XX:+UseCountedLoopSafepoints is enabled
Don't convert loop with safepoint on the backedge to Counted loop

Reviewed-by: kvn
2016-07-25 14:31:42 -07:00
Alejandro Murillo
560886751b Merge 2016-07-21 20:09:19 -07:00
Alejandro Murillo
ff1f1235ab Merge 2016-07-21 19:50:41 -07:00
Vladimir Ivanov
1208854be7 8155781: C2: opaque unsafe access triggers an assert
Reviewed-by: kvn, lmesnik, ppunegov
2016-07-21 20:18:11 +03:00
Daniel D. Daugherty
c0e5b2646f 8161173: quarantine compiler/arraycopy/TestEliminatedArrayCopyDeopt.java
8161174: quarantine gc/stress/TestStressG1Humongous.java on 32-bit
8161175: quarantine serviceability/dcmd/compiler/CompilerQueueTest.java on 32-bit

Reviewed-by: sspitsyn, jmasa, gtriantafill
2016-07-18 14:20:30 -07:00
Paul Sandoz
22f1fb042e 8151163: All Buffer implementations should leverage Unsafe unaligned accessors
Reviewed-by: shade, aph
2016-07-15 12:36:18 +02:00
Zoltan Majo
154d568edd 8160591: Improve internal array handling
Co-authored-by: Xiang Yuan <xiang.yuan@linaro.org>
Reviewed-by: kvn
2016-07-01 09:33:34 +02:00
Dmitrij Pochepko
52d291dd00 8162376: TestSHA512Intrinsics.java failed with Unexpected count of intrinsic _sha5_implCompress is expected
Reviewed-by: kvn
2016-07-25 21:02:51 +03:00
Doug Simon
86961b9419 8161265: [JVMCI] EnableJVMCI should only be required when its not implied by other flags
Reviewed-by: twisti, kvn, never
2016-07-20 22:18:13 +00:00
Dmitrij Pochepko
48476abaa6 8071652: -XX:CompileOnly does not behave as documented
Reviewed-by: kvn
2016-07-20 19:35:08 +03:00
Dmitrij Pochepko
8ad8a1e35e 8161695: compiler/jsr292/MHInlineTest.java can't be run on client-only platforms
Reviewed-by: kvn
2016-07-20 19:33:22 +03:00
Dmitrij Pochepko
71fd93cbb7 8161508: JVMCI: MaterializeVirtualObjectTest fails w/ "CASE: invalidate=true: has no virtual object before materialization
Reviewed-by: kvn
2016-07-20 19:29:10 +03:00
Tom Rodriguez
e26d43a2a3 8161603: [JVMCI] HotSpotVMConfig.baseVtableLength is incorrectly computed
Reviewed-by: kvn
2016-07-19 18:17:40 -07:00
Tom Rodriguez
368df4fd8d 8161292: [JVMCI] missing test files from 8159368
Reviewed-by: twisti, kvn
2016-07-19 18:11:03 +00:00
Rickard Bäckman
3d15529c03 Merge 2016-07-19 13:15:46 +02:00
Dmitrij Pochepko
0f34ca00f2 8157861: [TESTBUG] compiler/jvmci/compilerToVM/ReprofileTest.java failed with RuntimeException
Reviewed-by: twisti
2016-07-14 20:11:55 +03:00
Dmitrij Pochepko
24fa7f4177 8157984: [TESTBUG] Several compiler tests fails when are executed with -XX:TieredStopAtLevel=1
Reviewed-by: vlivanov
2016-07-14 20:10:16 +03:00
Igor Ignatyev
e19479825a 8151280: update hotspot tests to use vm.compMode instead of their own logic
Update hs compiler tests to use vm.compMode instead of their own logic and to get VM mode using j.t.l.Platform

Reviewed-by: kvn, dpochepk
2016-07-13 18:03:15 +03:00
Michael Haupt
558ac48a19 8161068: jdk.vm.ci.hotspot.test.MethodHandleAccessProviderTest fails
Reviewed-by: never, dnsimon
2016-07-14 08:33:08 +02:00
Pavel Punegov
684f63ba14 8160761: [TESTBUG] Several compiler tests fail with product bits
Add UnlockDiagnosticVMOptions to tests

Reviewed-by: goetz
2016-07-13 19:08:07 +03:00
Stefan Anzinger
b582e23cba 8159368: [JVMCI] SPARCHotSpotRegisterConfig.callingConvention gives incorrect calling convention for native calls containing fp args
Reviewed-by: kvn, iveresov
2016-07-12 20:42:46 +00:00
Igor Ignatyev
a0381422dd 8132919: Put compiler tests in packages
Reviewed-by: vlivanov, dpochepk
2016-07-12 18:24:48 +03:00
Tobias Hartmann
e990410b51 8160898: assert while replaying ciReplay file created using TieredStopAtLevel=1
Use highest available tier if no compilation level is specified in replay file.

Reviewed-by: zmajo
2016-07-12 08:57:00 +02:00
Doug Simon
48d49a9522 8160730: [JVMCI] compiler selection should work without -Djvmci.Compiler
Reviewed-by: kvn, twisti, never
2016-07-11 19:15:21 +00:00
Rickard Bäckman
c4a811cc90 Merge 2016-07-11 13:14:19 +02:00
Igor Ignatyev
6b764fc51a 8160657: Compiler HotSpot tests should use the "run driver" directive where applicable
Reviewed-by: kvn
2016-07-08 21:26:02 +03:00
Alejandro Murillo
5296c23c9b Merge 2016-07-08 12:17:10 -07:00
Dmitry Samersoff
018bd862ef 8161074: Quarantine jdk/vm/ci/hotspot/test/MethodHandleAccessProviderTest.java in JDK9-dev
Quarantine the test

Reviewed-by: dcubed, gtriantafill
2016-07-08 20:11:22 +03:00
Tobias Hartmann
b64a4110b3 8159129: TestStringIntrinsicRangeChecks fails w/ No exception thrown for compressByte/inflateByte
Need to convert char offsets to byte offsets before range check.

Reviewed-by: vlivanov
2016-07-05 07:57:09 +02:00
Rahul Raghavan
77c3e19380 8153194: PreserveFPRegistersTest.java runs out of memory in the nightlies
Fixed test by setting reference size using WhileBox.getHeapOopSize.

Reviewed-by: vlivanov
2016-06-30 05:05:52 -07:00
Vladimir Kozlov
634a7fdebc Merge 2016-06-24 15:09:00 -07:00
Dmitry Fazunenko
990315c8ce 8160088: update hotspot tests depending on GC to use @requires vm.gc.X
Reviewed-by: iignatyev, mchernov, dholmes
2016-06-24 19:52:31 +04: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
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
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
464bfe497d 8048093: Explicitly setting := vs = in the -XX:+PrintFlagsFinal output
Reviewed-by: kvn, gziemski
2016-06-21 19:35:39 +02: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
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
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
Coleen Phillimore
39b4f0d53e Merge 2016-06-19 20:14:37 -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
Goetz Lindenmaier
8a945875b6 8159335: Fix problems with stack overflow handling
Reviewed-by: dlong, coleenp, mdoerr
2016-06-13 09:28:25 +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
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
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
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
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
Josef Eisl
343a9e76a8 8157292: [JVMCI] add missing test files from 8156034
Reviewed-by: iveresov
2016-05-31 17:08:18 +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
7073d102f0 8158182: remove shell script from compiler/c2/6894807/IsInstanceTest.java
Reviewed-by: kvn
2016-05-31 16:29:45 +03:00
Igor Ignatyev
11504c438f 8073159: improve Test6857159.java
Reviewed-by: kvn
2016-05-31 15:12:09 +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
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
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
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