Commit Graph

2893 Commits

Author SHA1 Message Date
Kirill Zhaldybin
8b9c8fc1c4 Merge 2016-09-02 01:39:47 +00:00
Coleen Phillimore
157487a153 Merge 2016-09-02 00:08:18 +00:00
Alejandro Murillo
199b53c0b1 Merge 2016-09-01 15:20:56 -07:00
Coleen Phillimore
f03ab592cc 8165268: [BACKOUT] InstanceKlass::_previous_version_count goes negative
Reviewed-by: dcubed
2016-09-01 18:02:13 -04:00
Alejandro Murillo
929ce0118a Merge 2016-09-01 14:09:01 -07:00
Kirill Zhaldybin
87d30c0c7d 8164039: Convert test_memset_with_concurrent_readers to GTest
Reviewed-by: iignatyev, kbarrett
2016-09-01 20:46:40 +03:00
Kirill Zhaldybin
584c5686be Merge 2016-09-01 18:15:49 +03:00
Alejandro Murillo
aecf372724 Merge 2016-08-31 09:22:53 -07:00
Mandy Chung
d2d5a91ec4 8160851: Remove old launcher module-related options
Reviewed-by: alanb
2016-08-30 17:48:27 -07:00
Goetz Lindenmaier
010d9bf7df 8165315: [ppc] Port "8133749: NMT detail stack trace cleanup"
Also add methods to check for slow/fastdebug to Platform.java.

Reviewed-by: simonis, cjplummer, dholmes
2016-08-30 16:08:52 +02:00
Alexander Kulyakhtin
4f55b6c7e0 8148103: add more tests for task "Update JDI and JDWP for modules"
A new JDWP test

Reviewed-by: sspitsyn
2016-08-30 12:48:03 +03:00
Jini George
8445923b1c 8164562: serviceability/sa/TestInstanceKlassSizeForInterface.java: fails with NPE
Addition of  –XX:+UnlockDiagnosticVMOptions for the test invocation for jcmd and modularization related cleanup

Reviewed-by: dholmes, mchung
2016-08-30 11:06:25 +03:00
Dmitry Fazunenko
56ff858c45 8164660: MinimalVM is not tested with GC tests
Reviewed-by: jmasa, tschatzl
2016-08-29 23:04:48 +04:00
Kirill Zhaldybin
d871b35f40 8164230: Convert TestCodeCacheRemSet_test to GTest
Reviewed-by: mgerdin, dfazunen
2016-08-29 20:15:12 +03:00
Marcus Larsson
99f0753054 8157948: UL allows same log file with multiple file=
Reviewed-by: dholmes, rehn
2016-08-29 14:11:22 +02:00
Marcus Larsson
10245a95e3 8150823: UL disables log outputs incorrectly
Reviewed-by: rehn, sla
2016-08-26 14:27:41 +02:00
Rachel Protacio
1618785868 Merge 2016-08-25 13:48:42 +00:00
Rachel Protacio
c6c1bee762 8148854: Class names "SomeClass" and "LSomeClass;" treated by JVM as an equivalent
Added default format checking of class names loaded by the app class loader

Reviewed-by: coleenp, lfoltan
2016-08-25 09:23:45 -04:00
Christian Tornqvist
820b9e7a16 8164737: Remove Unsafe dependency from ProcessTools
Reviewed-by: gtriantafill, dholmes
2016-08-25 08:40:53 -04:00
Dmitry Fazunenko
3ba0af5c09 8164133: Tests gc/arguments/TestAlignmentToUseLargePages.java and gc/cms/TestBubbleUpRef.java use too small heap
Reviewed-by: jmasa, sangheki, kzhaldyb
2016-08-25 14:12:09 +04:00
Robbin Ehn
3b1c3587d9 8164208: Update tests with redefine classes UL options and tags​
Reviewed-by: coleenp, gtriantafill
2016-08-24 20:38:21 +02:00
Kirill Zhaldybin
ad62406df7 8164743: Convert TestAsUtf8 to GTest
Reviewed-by: dholmes, rprotacio
2016-08-24 19:21:20 +03:00
Kirill Zhaldybin
635fad4510 8164738: Convert AltHashing_test to GTest
Reviewed-by: dholmes, coleenp
2016-08-24 18:10:09 +03:00
Christian Tornqvist
f2dafaefc7 8163146: Remove os::check_heap on Windows
Reviewed-by: gtriantafill, coleenp, stuefe
2016-08-23 21:49:33 -04:00
Christian Tornqvist
3d2138fde0 Merge 2016-08-23 17:27:56 +00:00
Christian Tornqvist
1d929d1259 8155964: Create a set of tests for verifying the Minimal VM
Reviewed-by: gtriantafill, dholmes, lmesnik, cjplummer
2016-08-23 13:20:51 -04:00
Stefan Johansson
abc62e705c 8163413: gc/metaspace/TestMetaspacePerfCounters failure
Reviewed-by: ehelin, dfazunen
2016-08-22 16:48:04 +02:00
Kirill Zhaldybin
d65aa31fd5 8164028: Convert TestPredictions_test to GTest
Reviewed-by: jwilhelm, dfazunen, ehelin
2016-08-22 16:43:56 +03:00
Igor Veresov
a541c52612 Merge 2016-08-21 06:18:09 +02:00
Christian Tornqvist
31cc523eb2 8164521: compiler/rangechecks/TestRangeCheckSmearing.java is missing @build for sun.hotspot.WhiteBox
Reviewed-by: coleenp
2016-08-20 09:35:40 -04:00
Igor Veresov
3f66df6bf7 Merge 2016-08-19 18:48:25 -07:00
Kim Barrett
f86e0c39e6 Merge 2016-08-19 23:57:42 +00:00
Igor Veresov
2ad60b9910 Merge 2016-08-19 14:33:52 -07:00
Coleen Phillimore
6b6510c34f Merge 2016-08-19 22:42:25 +02:00
Coleen Phillimore
85381e59e5 8145964: NoClassDefFound error in transforming lambdas
Skip VM anonymous classes in retransformation and give an error for redefinition.

Reviewed-by: dholmes, dcubed, never
2016-08-19 14:54:31 -04:00
Karen Kinnear
6758f23018 Merge 2016-08-19 20:38:30 +02:00
Karen Kinnear
3b21f492f9 8163808: Fix asserts and logging for old classfile vtable construction
Reviewed-by: coleenp, lfoltan, rprotacio, ctornqvi
2016-08-19 11:32:43 -04:00
Christian Tornqvist
ad85e18f23 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:06:30 -04:00
Dmitry Samersoff
c0cfad4f3d 8151345: compiler/codecache/jmx/PeakUsageTest.java is failing on jdk9/dev for JPRT -testset hotspot
Reviewed-by: sla, dsamersoff
2016-08-18 12:10:18 +03:00
Igor Ignatyev
c645d7bb87 8164035: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java failing with Agent JAR not found or no Agent-Class attribute
Reviewed-by: kvn
2016-08-18 11:26:35 +03:00
Pavel Punegov
8474269d18 8156852: Convert JSON_test to Gtest
Convert test from InternalVMTests to Gtest

Reviewed-by: kvn, kzhaldyb
2016-08-17 18:48:34 +03:00
Tobias Hartmann
466c23ffe0 8166046: [TESTBUG] compiler/stringopts/TestStringObjectInitialization.java fails with OOME
Reduced heap memory consumption of test.

Reviewed-by: kvn
2016-09-21 08:14:46 +02:00
Dean Long
e2e8ee17d0 Merge 2016-09-20 16:34:45 -04:00
Igor Ignatyev
f711aaa04c 8166164: compiler/compilercontrol/share/processors/LogProcessor.java does not close Scanner
Reviewed-by: kvn, ppunegov
2016-09-20 17:30:33 +03:00
Doug Simon
d5ca7a299c 8165434: [JVMCI] remove uses of setAccessible
Reviewed-by: twisti, never
2016-09-14 12:34:37 -07:00
Goetz Lindenmaier
474c035379 8165235: [TESTBUG] RTM tests must check OS version
Also change enabling RTM on Aix to OS version 7.2.

Reviewed-by: simonis, fzhinkin
2016-09-01 16:47:53 +02:00
Gustavo Romero
c6be265b46 8164987: RTM jtreg tests failing due to unnamed module unable to access class jdk.internal.misc.Unsafe
Reviewed-by: kvn
2016-09-08 18:17:50 -04:00
Jamsheed Mohammed C M
4ae6ce2b44 8164508: unexpected profiling mismatch in c1 generated code
Made 8027631 first arg skip applicable to not inlined virtual callsite too.

Reviewed-by: kvn
2016-09-09 06:11:54 -07:00
Tobias Hartmann
be08874935 8164091: VM fails during startup with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked"
Don't throw java_lang_VirtualMachineError during VM initialization.

Reviewed-by: zmajo, dlong, dholmes
2016-08-17 08:19:06 +02:00
Harold Seigel
2a74c06b8d 8030221: Checking for anonymous class should check for NULL as well as potential nesting
Store the first non-anonymous class as the host when defining the anonymous class so don't need look for it later.

Reviewed-by: dholmes, lfoltan
2016-08-16 09:56:18 -04:00
Chris Plummer
eabe746ff6 8133747: NMT includes an extra stack frame due to assumption NMT is making on tail calls being used
Better frame skipping logic in NativeCallStack::NativeCallStack.

Reviewed-by: dholmes, zgu
2016-08-15 13:13:48 -07:00
Kirill Zhaldybin
fe2f936875 8163860: Convert TestOldFreeSpaceCalculation_test to GTest
Reviewed-by: iignatyev, dfazunen
2016-08-15 13:18:35 +03:00
Kim Barrett
ea503006dd 8155043: BitMap set operations assume clear bits beyond unaligned end
Be more circumspect in handling of sets with unaligned sizes.

Reviewed-by: stefank, jmasa
2016-08-14 21:19:42 -04:00
Igor Veresov
19d25373bf Merge 2016-08-11 16:22:08 -07:00
Daniel D. Daugherty
d05e00ca76 8163879: quarantine serviceability/sa/sadebugd/SADebugDTest.java since it hangs intermittently
Reviewed-by: hseigel
2016-08-11 12:27:20 -07:00
Dmitrij Pochepko
5ae0aff787 8160299: Test8015436 doesn't check which method was executed
Reviewed-by: kvn
2016-08-09 16:47:47 +03:00
Alejandro Murillo
dba428fb92 Merge 2016-08-12 14:12:55 -07:00
Alejandro Murillo
2d36c89f18 Merge 2016-08-12 13:58:14 -07:00
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
Sharath Ballal
bd4e4b5bfb 8163269: Testcase missed in push for JDK-8160817
Add missed testcase

Reviewed-by: dsamersoff
2016-08-08 17:15:46 +03: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
Alejandro Murillo
8857b866e7 Merge 2016-08-05 09:58:09 -07:00
Alejandro Murillo
22b49b9431 Merge 2016-08-05 09:50:25 -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
Chris Plummer
3a4f05d90c 8162670: make of jtreg_tests fails if no tests are run, causing jprt test runs to also fail
Clear the jtreg exit code when set to 1.

Reviewed-by: stsmirno, dholmes
2016-08-04 16:11:49 -07:00
Joe Darcy
4497988860 8163231: A couple of runtime tests failing for the -testset hotspot snapshot job
Reviewed-by: acorn
2016-08-04 15:52:14 -07: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
Gerald Thornbrugh
8a3dd8c557 8161696: [TESTBUG] runtime/StackGuardPages/testme.sh uses invalid argument -Xss328k
Changed argument from 328k to 1M

Reviewed-by: dcubed, fparain, dholmes
2016-08-02 13:48:07 -07:00
Michail Chernov
18a908de4a 8161604: TestNewSizeFlags fails with RuntimeException: max new size != MaxNewSize value
Reviewed-by: sangheki, tschatzl
2016-08-02 15:22:41 +03:00
Vladimir Kozlov
4b428d9b3a Merge 2016-08-01 20:47:51 -07:00
Sharath Ballal
3baf6b1f72 8158050: Remove SA-JDI
Remove SA-JDI

Reviewed-by: alanb, dsamersoff
2016-08-01 10:51:22 +03:00
Tatiana Pivovarova
a4383337fe 8161138: testlibrary_tests/ctw/* failed with "Failed. Unexpected exit from test [exit code: 0]"
Reviewed-by: kvn
2016-07-29 17:41:14 +03:00
Dmitrij Pochepko
757db81501 8162603: Unrecognized VM option 'UseCountedLoopSafepoints'
Reviewed-by: kvn
2016-07-28 16:09:31 +03: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
1ffdc57850 8161949: quarantine runtime/Unsafe/GetUnsafe.java to allow sync with JDK9-dev
Reviewed-by: jiangli, gtriantafill
2016-07-20 10:55:32 -07: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
Marcus Larsson
11852cb5fa 8061219: Implement unit-tests for UL
Reviewed-by: coleenp, mockner, rprotacio
2016-07-14 09:52:03 +02:00
Zoltan Majo
00c9b389f6 8161720: Better byte behavior for off-heap data
Normalize boolean values read with Unsafe.

Reviewed-by: aph, simonis, jrose, psandoz
2016-08-30 09:30:16 +02:00
Tom Rodriguez
7a6ffc8b52 8161550: [JVMCI] Crash: assert(sig_bt[member_arg_pos] == T_OBJECT)
Reviewed-by: zmajo
2016-08-29 17:15:20 +00:00
Igor Veresov
2b1aa4e8ae Merge 2016-08-26 14:47:52 -07:00
Sharath Ballal
4aea7b3333 8163346: Update jmap-hashcode/Test8028623.java for better diagnostic of timeout
Update jmap-hashcode/Test8028623.java to use LingeredApp and rename it to jhsdb/HeapDumpTest.java

Reviewed-by: dsamersoff, dholmes
2016-08-26 13:11:20 +03:00
Jamsheed Mohammed C M
1f57e15997 8158639: C2 compilation fails with SIGSEGV
Fixed the jvms for callsite traps based on declared signature.

Reviewed-by: kvn, vlivanov, dlong
2016-08-25 02:10:03 -07:00
Vladimir Ivanov
d536ff4377 8155635: C2: Mixed unsafe accesses break alias analysis
Reviewed-by: jrose, kvn
2016-08-25 12:52:18 +03:00
Vladimir Ivanov
bf0209ffa9 8162101: C2: Handle "wide" aliases for unsafe accesses
Reviewed-by: kvn
2016-08-25 12:51:10 +03:00
Doug Simon
0eb2d4511b Merge 2016-08-23 22:31:48 +00:00
Doug Simon
1fd875eaf9 8164358: [JVMCI] expose Hotspot intrinsics and HotSpotIntrinsicCandidate info to JVMCI
Reviewed-by: twisti, kvn, never
2016-08-23 22:24:31 +00:00
Tatiana Pivovarova
bed33a8972 Merge 2016-08-23 18:03:37 +00:00
Dmitrij Pochepko
e6e0ecf74c Merge 2016-08-23 18:57:21 +02:00
Tatiana Pivovarova
a06d2b8547 8164648: [TESTBUG] jittester failed compilation after 8157957
Reviewed-by: vlivanov
2016-08-23 19:53:40 +03:00
Dmitrij Pochepko
f724bcdd9d 8164608: [TESTBUG] compiler/profiling tests fail to compile
Reviewed-by: ctornqvi
2016-08-23 19:30:56 +03:00
Doug Simon
00979c250a 8164214: [JVMCI] include VarHandle in signature polymorphic method test
Reviewed-by: kvn, twisti, iveresov, psandoz
2016-08-23 15:16:45 +00:00
Igor Veresov
06492bebc5 Merge 2016-08-19 18:51:15 -07:00
Igor Veresov
d39293e00f Merge 2016-08-19 15:29:57 -07:00
Dmitrij Pochepko
1c5cc2ccdf 8139700: compiler/jvmci/compilerToVM/DisassembleCodeBlobTest and InvalidateInstalledCodeTest timeout
Reviewed-by: kvn
2016-08-20 00:15:45 +03: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
70dd85aca8 8158756: [Testbug] serviceability/dcmd/compiler/CompilerQueueTest.java fails with TieredStopAtLevel=1
Reviewed-by: thartmann
2016-07-20 19:31:34 +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
Thomas Schatzl
ada5ab192f 8034842: Parallelize the Free CSet phase in G1
Reviewed-by: jmasa, ehelin
2016-07-19 10:31:41 +02: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
Gerald Thornbrugh
8f39b65deb 8144278: [TESTBUG] hotspot/runtime/StackGuardPages/testme.sh should use native library build support
Reviewed-by: erikj, dsamersoff, dholmes
2016-07-15 10:46:08 -07:00
Gerald Thornbrugh
2b23013b97 8144279: [TESTBUG] hotspot/runtime/jsig/Test8017498.sh should use native library build support
Reviewed-by: ccheung, cjplummer, dcubed
2016-07-15 10:31:50 -07:00
Gerald Thornbrugh
b571e747c5 8081770: [TESTBUG] regression Test7107135 needs to remove dependence on locally installed gcc
Reviewed-by: cjplummer, dcubed
2016-07-15 10:25:16 -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
Michail Chernov
dd05422209 8158508: gc/logging/TestUnifiedLoggingSwitchStress.java timeout
Reviewed-by: jmasa, tschatzl
2016-07-12 15:06:18 +03:00
Richard Reingruber
aa7a85dcbf 8134434: JVM_DoPrivileged() fires assert(_exception_caught == false) failed: _exception_caught is out of phase
Explicitly set exception detected inside rethrow_C

Reviewed-by: goetz, sspitsyn
2016-07-13 10:51:19 +03: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
Dmitrij Pochepko
b041084b5b 8160276: Jittester: bytecode tests generation hangs in ClassWriter infinite loop
Reviewed-by: kvn, iveresov
2016-07-08 20:14:18 +03:00
Tatiana Pivovarova
8afad6f434 8160773: error: package jdk.internal.jimage does not exist
Reviewed-by: dlong
2016-07-07 13:53:52 +03:00
Serguei Spitsyn
2cede6dbc1 8159145: Add JVMTI function GetNamedModule
Introduce function GetNamedModule with a jtreg test coverage

Reviewed-by: alanb, ctornqvi, hseigel, jiangli, dholmes, dcubed
2016-07-09 19:20:38 -07:00
Alejandro Murillo
5296c23c9b Merge 2016-07-08 12:17:10 -07:00
Alejandro Murillo
7cd48c89d3 Merge 2016-07-08 12:12:54 -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
Christian Tornqvist
f06ef85609 8160484: Implement Hotspot Runtime tier 2
Reviewed-by: dholmes, gtriantafill
2016-07-01 07:21:33 -04: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
Marcus Larsson
992b6c464a 8159695: Arguments::atojulong() fails to detect overflows
Reviewed-by: dholmes, dsamersoff
2016-06-29 16:11:50 +02:00
Coleen Phillimore
071f077080 Merge 2016-06-30 00:19:48 +00:00
Coleen Phillimore
fd1c7ff505 8160551: assert(c == Bytecodes::_putfield) failed: must be putfield
Illegal bytecodes which are detected later hit this assert first.

Reviewed-by: jrose
2016-06-29 20:16:05 -04:00
Kirill Zhaldybin
ed9f815336 8132711: Add tests which check that Humongous objects behave as expected after Mixed GC
Reviewed-by: tschatzl, dfazunen
2016-06-29 18:40:28 +03:00
Kirill Zhaldybin
69a42dc15a 8132715: Add tests which check that no allocations allowed in any of humongous regions
Reviewed-by: dfazunen, tschatzl
2016-06-29 17:01:55 +03:00
Lois Foltan
92eb334c91 8159262: Walking PackageEntry Export and ModuleEntry Reads Must Occur Only When Neccessary And Wait Until ClassLoader's Aliveness Determined
Fixed an issue in class unloading to delay walk until class loader's aliveness is determined of modularity lists to remove dead modules

Reviewed-by: coleenp, dholmes, sspitsyn, zgu
2016-06-28 10:11:01 -04:00
Per Lidén
651e15fda6 8159890: SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: stefank, drwhite, tschatzl, jiangli, iklam
2016-06-28 10:37:52 +02:00
Vladimir Kozlov
634a7fdebc Merge 2016-06-24 15:09:00 -07:00
Dmitry Fazunenko
6bf411c8be Merge 2016-06-24 16:21:57 +00: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
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
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
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
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
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
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
Coleen Phillimore
39b4f0d53e Merge 2016-06-19 20:14:37 -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
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
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
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
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
Rickard Bäckman
5ce5d9f4cc Merge 2016-07-29 09:23:05 +02:00
Lois Foltan
6066d30e17 8160487: JVM should validate a module by checking for an instance of java.lang.reflect.Module
Correct the checking of an instance of java.lang.reflect.Module to validate a module

Reviewed-by: alanb, coleenp, redestad
2016-07-28 09:57:49 -04:00
Michail Chernov
f47008ae10 8159606: gc/g1/TestShrinkAuxiliaryData* tests fail because GC triggered before VM initialization completed
Reviewed-by: tschatzl
2016-07-27 18:43:52 +03:00
Dmitry Fazunenko
b831167138 8161990: Un-quarantine TestParallelHeapSizeFlags.java and TestSmallHeap.java
Reviewed-by: tschatzl
2016-07-27 21:16:38 +04: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
Alexander Kulyakhtin
1a81918931 8153978: New test to verify the modules info as returned by the JVMTI
A new JVMTI test

Reviewed-by: ctornqvi, sspitsyn
2016-07-22 16:55:55 +03:00
Jini George
73a516d68e 8145627: sun.jvm.hotspot.oops.InstanceKlass::getSize() returns the incorrect size and has no test
Fix the size and add a test

Reviewed-by: sspitsyn
2016-07-22 02:36:39 -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
Dmitry Fazunenko
fdec5ff217 Merge 2016-07-21 16:45:56 +00:00
Paul Sandoz
44d9cb476f 8161947: runtime/Unsafe/GetUnsafe.java is failing on jdk9/dev
Reviewed-by: alanb, dholmes
2016-07-21 16:29:21 +02:00
Dmitry Fazunenko
92110548e8 8161552: Test issue: VM init failed: GC triggered before VM initialization completed. Try increasing NewSize, current value 768K
Reviewed-by: tschatzl, jmasa, zmajo
2016-07-21 17:12:35 +04:00
Boris Molodenkov
8663231fb4 8160119: Utils.tryFindJvmPid sometimes find incorrect pid
Fixed pattern

Reviewed-by: iignatyev, dholmes
2016-07-20 14:47:53 +03:00
Michail Chernov
c6f30feaec 8160827: gc/stress/TestStressG1Humongous.java fails with OOME
Reviewed-by: tschatzl
2016-07-19 18:15:46 +03: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
Vladimir Kozlov
47b35cab0e Merge 2016-06-06 12:56:40 -07: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
Max Ockner
69d4ee5887 Merge 2016-06-03 05:38:08 +02:00
Coleen Phillimore
60eea7f11f Merge 2016-06-02 23:57:07 +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
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
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
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
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
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
Vladimir Ivanov
2a6a1c6b01 Merge 2016-05-30 15:04:03 +03:00
Vladimir Ivanov
a7ec30ae19 Merge 2016-05-27 17:01:27 +03: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
Dmitrij Pochepko
ac5718b306 8156470: [JITtester] EOL on Windows
Reviewed-by: kvn
2016-05-25 16:22:31 +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
Vladimir Ivanov
255569b3a9 Merge 2016-05-24 13:39:18 +00:00
Vladimir Ivanov
3221da3cf7 Merge 2016-05-24 14:13:57 +03:00