Commit Graph

1171 Commits

Author SHA1 Message Date
Roland Westrelin
400f0f7a8f 8055153: nsk/stress/jck60/jck60014 crashes on sparc
Missing control for LoadRange and LoadKlass nodes created during arraycopy node expansion

Reviewed-by: kvn, iveresov
2014-08-19 17:23:38 +02:00
Zhengyu Gu
4ef9e6c2bc Merge 2014-08-19 10:04:29 -04:00
George Triantafillou
1a1ce4534e 8055051: runtime/NMT/CommandLineEmptyArgument.java fails
Disable failing test

Reviewed-by: ctornqvi, zgu
2014-08-19 06:47:28 -07:00
Tobias Hartmann
8b9a829836 8048879: "unexpected yanked node" opto/postaloc.cpp:139
MemBarAcquireNode prevents deletion of dead LoadNNode. Added condition to 'has_special_unique_user' to trigger deletion.

Reviewed-by: kvn, iveresov
2014-08-19 07:36:11 +02:00
George Triantafillou
8fe87f3da7 8054711: [TESTBUG] Enable NMT2 tests after NMT2 is integrated
Enable tests for NMT2

Reviewed-by: ctornqvi, zgu
2014-08-18 11:56:12 -07:00
Zhengyu Gu
7bce315059 8055061: assert at share/vm/services/virtualMemoryTracker.cpp:332 Error: ShouldNotReachHere() when running NMT tests
Handled CDS mapping region and added test for the scenario

Reviewed-by: coleenp, ctornqvi
2014-08-19 09:05:55 -04:00
Mikael Gerdin
3d15ed6007 Merge 2014-08-18 14:49:42 +00:00
Dmitry Fazunenko
b9b2141c2d 8055284: sanity/WhiteBox.java fails with NPE
Revert previous change, sanity/WhiteBox.java provides its own sun.hotspot.WhiteBox class.

Reviewed-by: ehelin, brutisso
2014-08-18 16:19:57 +02:00
Thomas Schatzl
71775c28e2 8054362: gc/g1/TestEagerReclaimHumongousRegions2.java timeout
Give the test a time limit of approximately one minute so that it exits early on slow machines.

Reviewed-by: ehelin, dfazunen, brutisso
2014-08-18 15:41:57 +02:00
Stefan Karlsson
ab077e18a5 Merge 2014-08-18 12:25:36 +00:00
Stefan Karlsson
173377d355 8055275: Several gc/class_unloading/ tests fail due to missed +UnlockDiagnosticVMOptions flag
Reviewed-by: mgerdin, jwilhelm
2014-08-18 14:12:48 +02:00
Vladimir Kozlov
b86cece468 Merge 2014-08-15 12:27:50 -07:00
Serguei Spitsyn
bc23c9949e Merge 2014-08-15 11:25:55 -07:00
Christian Tornqvist
2d98294837 8032999: [TESTBUG] JT-Reg Runtime tests to be run as part of JPRT submit job
JPRT will now run most of the tests in /runtime

Reviewed-by: dcubed, mseledtsov, zgu, mikael
2014-08-14 18:14:07 -07:00
Jon Masamitsu
5a22518210 Merge 2014-08-14 18:42:08 +00:00
Tobias Hartmann
d50dfdb399 8054402: "klass->is_loader_alive(_is_alive)) failed: must be alive" for anonymous classes
Because anonymous classes are not in the system dictionary, we have to set 'unloading_occurred' based on 'CLDG::do_unloading()'. Added jtreg test.

Reviewed-by: kvn, coleenp
2014-08-14 09:15:39 +02:00
Daniel D. Daugherty
8937a201e0 Merge 2014-08-13 13:29:45 -07:00
Christian Tornqvist
69c1d825ff 8054713: [TESTBUG] runtime/jsig/Test8017498.sh: Execution failed: exit code 1
Changed output directory of gcc to avoid permission problems

Reviewed-by: coleenp, minqi
2014-08-12 17:29:47 -07:00
Ioi Lam
bbe6f51f81 8046070: Class Data Sharing clean up and refactoring
Cleaned up CDS to be more configurable, maintainable and extensible

Reviewed-by: dholmes, coleenp, acorn, mchung
2014-08-12 17:29:00 -07:00
Christian Tornqvist
0604ebb2bf Merge 2014-08-12 21:18:14 +00:00
George Triantafillou
89c5882d2e 8054952: [TESTBUG] Add missing NMT2 tests
The new NMT2 tests got lost on the way into jdk9 yesterday, this change adds them.

Reviewed-by: coleenp, zgu, ctornqvi
2014-08-12 14:06:41 -07:00
Zhengyu Gu
097085961f 8054938: [TESTBUG] Wrong WhiteBox.java was pushed by JDK-8044140
Reserved WhiteBox.java pushed by JDK-8044140

Reviewed-by: ccheung, hseigel
2014-08-12 12:39:02 -07:00
George Triantafillou
69e7c05210 8044140: Create NMT (Native Memory Tracking) tests for NMT2
Create new/modify existing tests for NMT2, which is an internal redesign to address scalability issues in the first implementation.

Reviewed-by: ctornqvi, zgu
2014-08-11 07:30:46 -07:00
Zhengyu Gu
d595244c27 Merge 2014-08-11 07:20:39 -07:00
Roland Westrelin
fa334043fe 8054224: Recursive method that was compiled by C1 is unable to catch StackOverflowError
Do not update exception cache if exception is replaced when thrown

Reviewed-by: kvn, iveresov
2014-08-11 15:09:04 +02:00
Stefan Karlsson
2880629908 8054823: Add size_t as a valid VM flag type
Reviewed-by: kvn, vlivanov, sla
2014-08-11 14:03:06 +02:00
Andrey Zakharov
dd95f0a0c2 8011397: JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
Reviewed-by: kvn, iignatyev, mgerdin
2014-08-11 17:12:41 +04:00
Tobias Hartmann
a67aa1e3df 8043284: Optimize signed integer comparison
Folding of BoolNode if input add/sub of CmpI overflows and we can prove that compared value is not in the two resulting ranges. Added test for CmpI and CmpU optimizations.

Reviewed-by: kvn, rbackman, roland
2014-08-11 13:01:37 +02:00
Jon Masamitsu
d4ca2cc557 Merge 2014-08-08 16:24:16 -07:00
Vladimir Kozlov
648272884a Merge 2014-08-08 10:35:05 -07:00
Jon Masamitsu
1cf05b831f Merge 2014-08-08 07:38:34 -07:00
Jon Masamitsu
30d4217ecd Merge 2014-08-07 20:17:37 -07:00
Zhengyu Gu
f0cf82f571 8046598: Scalable Native memory tracking development
Enhance scalability of native memory tracking

Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-07 12:18:58 -07:00
Stefan Karlsson
ef47f5dc0e 8048269: Add flag to turn off class unloading after G1 concurrent mark
Added -XX:+/-ClassUnloadingWithConcurrentMark

Reviewed-by: jmasa, brutisso, mgerdin
2014-08-06 09:55:16 +02:00
Thomas Schatzl
24bee82e67 8052170: G1 asserts at collection exit with -XX:-G1DeferredRSUpdate
Do not try to verify timing measures for the redirty logged cards phase when it is not executed.

Reviewed-by: brutisso, jmasa
2014-08-07 22:28:16 +02:00
Dmitrij Pochepko
f1db529ce7 8043674: Update compiler/intrinsic/bmi tests to run it on all platforms
Reviewed-by: kvn, iignatyev, fzhinkin
2014-10-25 19:06:23 +04:00
Sergei Kovalev
db334facfc 8028481: [TESTBUG] compiler/jsr292/CreatesInterfaceDotEqualsCallInfo.java should be in needs_nashorn test group
Reviewed-by: vlivanov, kvn
2014-10-24 09:17:32 -07:00
Vladimir Ivanov
916697af2c 8036748: assert(_base == Int) failed: Not an Int w/ -XX:+TraceIterativeGVN
Reviewed-by: kvn, roland
2014-10-24 09:14:41 -07:00
Vladimir Ivanov
83181efbeb 8058847: C2: EliminateAutoBox regression after 8042786
Reviewed-by: kvn, roland
2014-10-24 09:13:12 -07:00
Albert Noll
6520320d1a 8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full
Use separate sweeper thread; enables more aggressive sweeping.

Reviewed-by: kvn, jrose
2014-10-24 14:25:46 +02:00
Tobias Hartmann
2597d484c6 8061486: [TESTBUG] compiler/whitebox/ tests fail : must be osr_compiled (reappeared in nightlies)
Call warmup code from OSR triggering method to make sure no non-OSR compilation is triggered in the loop.

Reviewed-by: kvn
2014-10-24 08:35:29 +02:00
Tobias Hartmann
7d0337349b 8060479: [TESTBUG] compiler/codecache/CheckSegmentedCodeCache.java test fails with product build
Added check for product build and compute minimum code cache size accordingly.

Reviewed-by: kvn, iignatyev
2014-10-24 08:27:39 +02:00
Tobias Hartmann
009e923e04 8061443: Whitebox get*VMFlag() methods fail with develop flags in product builds
Changed 'get*VMFlag' to return all flags. Added methods 'isLockedVMFlag' and 'isConstantVMFlag' and adapted tests.

Reviewed-by: kvn, dholmes, sla
2014-10-24 08:22:33 +02:00
Vladimir Kozlov
da37592acb 8061563: Typo in test/compiler/exceptions/CatchInlineExceptions.java
Fix typo

Reviewed-by: iveresov
2014-10-21 12:37:48 -07:00
Igor Veresov
4b046500b7 Merge 2014-10-17 10:09:43 -10:00
Tobias Hartmann
415f2cd075 8060454: [TESTBUG] Whitebox tests fail with -XX:CompileThreshold=100
Move the call to 'waitAndDeoptimize' from the warmup methods to the osr triggering methods to make sure that no non-osr compilation is in the queue after warmup.

Reviewed-by: kvn
2014-10-17 10:04:45 +02:00
Harold Seigel
1c5ed7ab4c 8046233: VerifyError on backward branch
Remove check that causes the VerifyError

Reviewed-by: dholmes, coleenp, acorn
2014-08-05 09:11:35 -04:00
Stefan Karlsson
bdeaedbd38 8051883: TEST.groups references missing test: gc/class_unloading/TestCMSClassUnloadingDisabledHWM.java
Reviewed-by: brutisso, tschatzl, ehelin, jmasa, dfazunen
2014-08-04 15:04:45 +02:00
Roland Westrelin
355f6eb4ae 8046698: assert(false) failed: only Initialize or AddP expected macro.cpp:943
PhiNode inserted between AllocateNode and Initialization node confuses allocation elimination

Reviewed-by: kvn
2014-08-02 07:06:08 +02:00
Igor Ignatyev
eaabce8778 8054410: compiler/7068051/Test7068051.java fails with FileNotFoundException: f3oo.jar
Reviewed-by: kvn
2014-08-06 21:21:25 +04:00
Tobias Hartmann
1213845b36 8029443: 'assert(klass->is_loader_alive(_is_alive)) failed: must be alive' during VM_CollectForMetadataAllocation
Added missing metadata relocation to 'loadConP_no_oop_cheap' on Sparc if the pointer is referring to a Klass. Added jtreg test.

Reviewed-by: kvn, roland
2014-08-06 08:47:40 +02:00
Filipp Zhinkin
dc2c903e43 8055904: Develop tests for new command-line options related to SHA intrinsics
Reviewed-by: kvn, iignatyev
2014-09-03 15:29:57 +04:00
Filipp Zhinkin
8381452775 8055903: Develop sanity tests on SPARC's SHA instructions support
Reviewed-by: kvn, iignatyev
2014-09-03 15:26:06 +04:00
Filipp Zhinkin
9f825ac4cb 8056091: Move compiler/intrinsics/mathexact/sanity/Verifier to compiler/testlibrary and extend its functionality
Reviewed-by: kvn, iignatyev
2014-09-03 15:24:26 +04:00
Roland Westrelin
fa27000f3c 8055910: closed/java/util/Collections/CheckedCollections.java failed with ClassCastException not thrown
Missing subtype check for Arrays.copyOf intrinsic

Reviewed-by: kvn, iveresov
2014-08-29 16:32:29 +02:00
Vladimir Kozlov
b9e949183d 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
Add new C2 intrinsic for BigInteger::multiplyToLen() on x86 in 64-bit VM.

Reviewed-by: roland
2014-09-02 12:48:45 -07:00
Serguei Spitsyn
7b1571089e Merge 2014-08-01 19:03:26 -07:00
Christian Tornqvist
71d23aa793 8053956: [TESTBUG] Remove @ignore tag from fixed runtime issues
Removed ignore tags from already fixed tests

Reviewed-by: gtriantafill, dcubed
2014-07-31 11:56:59 -07:00
Thomas Schatzl
a959c0971e 8051973: Eager reclaim leaves marks of marked but reclaimed objects on the next bitmap
Eager reclaim also needs to clear marks of eagerly reclaimed regions if they have already been marked during concurrent mark.

Reviewed-by: jmasa
2014-07-31 09:23:24 +02:00
Igor Ignatyev
0521e7ed8f 8051484: Test compiler/6932496/Test6932496.java failed to compile after JDK-8011044: 1.5 is no longer supported
Reviewed-by: kvn, roland
2014-08-03 12:04:36 +04:00
Igor Ignatyev
ebcdde4222 8051896: jtreg tests don't use $TESTJAVAOPTS
Reviewed-by: kvn, ctornqvi
2014-08-03 12:04:17 +04:00
Roland Westrelin
2588547f41 Merge 2014-08-01 15:57:00 -07:00
Filipp Zhinkin
e8d1955b5e 8051344: JVM crashed in Compile::start() during method parsing w/ UseRTMDeopt turned on
Call rtm_deopt() only if there were no compilation bailouts before.

Reviewed-by: kvn
2014-07-28 15:06:38 -07:00
Jon Masamitsu
7774fe7ed1 Merge 2014-07-24 15:06:36 -07:00
Thomas Schatzl
f161bd6d16 8027959: Early reclamation of large objects in G1
Try to reclaim humongous objects at every young collection after doing a conservative estimate of its liveness.

Reviewed-by: brutisso, mgerdin
2014-07-23 09:03:32 +02:00
Rickard Bäckman
eefe77eaff Merge 2014-07-18 10:41:05 +02:00
Igor Ignatyev
726b299ae0 Merge 2014-07-19 13:43:02 +04:00
Igor Ignatyev
d6a4f1737d 8031978: compiler/ciReplay/TestVM_no_comp_level.sh fails with "TEST [CHECK :: REPLAY DATA GENERATION] FAILED:
Reviewed-by: kvn
2014-07-19 00:34:40 +04:00
Igor Ignatyev
e6b1dd586f 8032449: Get rid of JMX in test/compiler
Reviewed-by: kvn
2014-07-19 00:34:20 +04:00
Anton Ivanov
4f7af5c597 8049348: compiler/intrinsics/bmi/verifycode tests on lzcnt and tzcnt use incorrect assumption about REXB prefix usage
Reviewed-by: kvn
2014-07-19 00:33:37 +04:00
Filipp Zhinkin
1f29a205e2 6848902: [TESTBUG] The compiler/6589834/Test_ia32.java timed out
Reviewed-by: kvn, iignatyev
2014-07-19 00:32:23 +04:00
Filipp Zhinkin
057a0edf66 8050144: Remove '-client' from compiler/8004051/Test8004051.java's options
Reviewed-by: kvn
2014-07-19 00:30:54 +04:00
Pavel Punegov
66ce40ebe8 8048882: Some regression tests are not robust with VM output
Reviewed-by: kvn, iignatyev
2014-07-19 00:29:20 +04:00
Serguei Spitsyn
9048d50c9e Merge 2014-07-16 15:59:46 -07:00
Vladimir Ivanov
3dd313825d 8043546: C1 optimizes @Stable instance fields with default values
Reviewed-by: kvn, jrose
2014-07-14 03:25:40 -07:00
Vladimir Kozlov
009f0fb913 Merge 2014-07-11 14:32:02 -07:00
Mikael Vidstedt
579ab5fdd4 8049071: Add jtreg jobs to JPRT for hotspot
Reviewed-by: dholmes, iveresov
2014-07-11 13:49:15 -07:00
Serguei Spitsyn
206c37a5e6 Merge 2014-07-12 01:26:13 -07:00
Jon Masamitsu
5de58bc127 Merge 2014-07-11 11:14:40 -07:00
Stefan Karlsson
a5b4cec253 8049831: Metadata Full GCs are not triggered when CMSClassUnloadingEnabled is turned off
Reviewed-by: brutisso, tschatzl, ehelin, jmasa, dfazunen
2014-07-11 09:07:23 +02:00
Jon Masamitsu
fbe6d80096 Merge 2014-07-10 13:39:18 -07:00
Roland Westrelin
c0deb9e08a 8040237: nsk/jvmti/RetransformClasses/retransform001 crashed the VM on all platforms when run with with -server -Xcomp
Class redefinition may cause speculative trap clean up code to dereference dead method

Reviewed-by: kvn, coleenp
2014-07-10 15:12:48 +02:00
Coleen Phillimore
06cea98803 8048933: -XX:+TraceExceptions output should include the message
Add the exception detail message to the tracing output

Reviewed-by: minqi, dholmes
2014-07-09 22:37:48 -04:00
Joe Darcy
4f7e4160a0 8048620: Remove unneeded/obsolete -source/-target options in hotspot tests
Reviewed-by: dholmes, hseigel
2014-07-07 12:08:07 -04:00
Stefan Karlsson
1b001a2afd 8049421: G1 Class Unloading after completing a concurrent mark cycle
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
ef1e9b3c80 8049420: Backout 8048248 to correct attribution
Reviewed-by: ehelin, brutisso
2014-07-07 12:37:11 +02:00
Stefan Karlsson
8c3aced316 8048248: G1 Class Unloading after completing a concurrent mark cycle
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Daniel D. Daugherty
068ede1458 Merge 2014-07-03 16:55:57 -07:00
Roland Westrelin
b5b9945659 Merge 2014-07-03 09:41:29 -07:00
Harold Seigel
08e90ebfcb 8026894: Improve VerifyError message about overriding a final method
Add full class name to error message.

Reviewed-by: fparain, zgu, lfoltan
2014-07-03 10:25:42 -04:00
Serguei Spitsyn
43c4569404 Merge 2014-07-02 17:24:50 -07:00
Jon Masamitsu
dc19a9c4f8 Merge 2014-07-02 17:24:18 -07:00
Staffan Larsen
c689cebe98 Merge 2014-07-02 15:17:11 +02:00
Erik Helin
4aa97f918f Merge 2014-07-02 13:52:52 +02:00
Erik Helin
27fb967c28 Merge 2014-07-02 11:13:58 +02:00
Erik Helin
40e186ac67 8048895: Back out JDK-8027915
Reviewed-by: mgerdin, stefank
2014-07-02 11:05:10 +02:00
Igor Ignatyev
0231fb818f 8047996: Quarantine compiler/whitebox tests
Reviewed-by: vlivanov
2014-07-01 13:09:40 +04:00
Staffan Larsen
a3765464cb 8047973: Quarantine compiler/ciReplay/*
Reviewed-by: vlivanov
2014-06-30 10:04:05 +02:00
Tobias Hartmann
b4d4c8a392 8048003: test/compiler/8009761/Test8009761.java failed with: java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled
Compile m3 with C1 if C2 is not available.

Reviewed-by: twisti, anoll
2014-06-30 08:28:29 +02:00
Daniel D. Daugherty
628b3c2c3a Merge 2014-06-27 08:11:49 -07:00
Thomas Schatzl
aec070cb69 8040977: G1 crashes when run with -XX:-G1DeferredRSUpdate
When G1 is run with -XX:-G1DeferredRSUpdate, the VM crashes because of wrong initialization order of member variables. The change makes the initalization explicit, not relying on initialization order any more.

Reviewed-by: brutisso, mgerdin
2014-06-26 16:01:07 +02:00
Jon Masamitsu
8dac1f1b8a Merge 2014-06-25 20:43:05 -07:00
Jon Masamitsu
0e622bfc55 Merge 2014-06-25 20:41:16 -07:00
Christian Tornqvist
30b9c7d9cb 8048076: [TESTBUG] runtime/Unsafe/RangeCheck.java fails with -Xcomp
Compiler intrinsics doesn't have this assert, disabled the intrinsics to make sure we go through the VM

Reviewed-by: lfoltan, coleenp
2014-06-25 13:03:29 -07:00
Andrey Zakharov
4d4642117e 8026847: [TESTBUG] gc/g1/TestSummarizeRSetStats* tests launch 32bit jvm with UseCompressedOops
The test launched a 32 bit VM with UseCompressedOops enabled. This is not supported on 32 bit VMs, causing a test failure. Investigation showed that the use of this flag is not required at all, so simply remove it.

Reviewed-by: tschatzl, jwilhelm
2014-06-25 17:22:58 +02:00
Christian Tornqvist
33a0064f97 8047939: [TESTBUG] Rewrite test/runtime/8001071/Test8001071.sh
Rewrote the test in Java, limited the heap size to avoid time out issues on machines with a lot of memory

Reviewed-by: minqi, rdurbin, dcubed
2014-06-24 07:10:06 -07:00
Erik Helin
3eff7a8f64 8049864: TestParallelHeapSizeFlags fails with unexpected heap size
Reviewed-by: sjohanss, jmasa
2014-06-24 15:50:50 +02:00
Jesper Wilhelmsson
3e005941e7 Merge 2014-09-15 13:32:30 +00:00
Jesper Wilhelmsson
1cd9ffc931 Merge 2014-09-15 15:28:43 +02:00
Erik Helin
1d4a5e9412 8049536: os::commit_memory on Solaris uses aligment_hint as page size
Reviewed-by: stefank, tschatzl
2014-09-15 10:57:22 +02:00
Andrey Zakharov
debb101f7b 8056237: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java fails due to OOM
Added respect for available memory. Renamed function names

Reviewed-by: jwilhelm, tschatzl
2014-09-11 14:21:24 +02:00
Andrey Zakharov
f494735340 8041946: CMM Testing: 8u40 an allocated humongous object at the end of the heap should not prevents shrinking the heap
New test added

Reviewed-by: jwilhelm, tschatzl
2014-09-11 14:21:13 +02:00
Erik Helin
4241d1c605 8027915: TestParallelHeapSizeFlags fails with unexpected heap size on sparcv9
Reviewed-by: jmasa, sjohanss
2014-06-24 15:50:50 +02:00
Christian Tornqvist
5cfb709349 8047878: [TESTBUG] runtime/memory/ReadFromNoaccessArea.java and runtime/memory/ReserveMemory.java time out on Solaris
Limited heap size to reduce size of core file generated

Reviewed-by: sla, coleenp, dcubed
2014-06-23 14:51:10 -07:00
Jon Masamitsu
633706fa4e Merge 2014-06-23 14:20:20 -07:00
Pavel Chistyakov
d9a2dbc73b 8044818: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java fails with RuntimeException 'sharing' found in stderr
Reviewed-by: hseigel, lfoltan, coleenp, dholmes
2014-06-22 21:23:32 -04:00
Christian Thalinger
dcafa9c646 Merge 2014-06-19 12:50:52 -07:00
Daniel D. Daugherty
e9d1677098 Merge 2014-06-20 12:45:24 -07:00
George Triantafillou
32cd848b56 8038074: [TESTBUG] Add test for anewarray instruction with more than 255 dimensions
Reviewed-by: lfoltan, coleenp
2014-06-20 10:12:02 -07:00
Igor Ignatyev
1e5168fced 8044742: testlibrary_tests/whitebox/vm_flags/BooleanTest.java NoClassDefFoundError: com/oracle/java/testlibrary/JDKToolFinder
Reviewed-by: kvn, roland
2014-06-16 15:12:24 +04:00
Daniel D. Daugherty
57113f7d70 Merge 2014-06-13 19:07:11 -07:00
Vladimir Kozlov
31d227f25d Merge 2014-06-13 10:21:30 -07:00
Daniel D. Daugherty
833620662c 8046287: [TESTBUG] runtime/Thread/TestThreadDumpMonitorContention.java failed error_cnt=12
Added a new header waiting pattern to catch the case where the target thread waiting on a condition (like a VM op); several other test improvements

Reviewed-by: sspitsyn, dholmes
2014-06-12 15:57:16 -07:00
Vladimir Kozlov
b571b4214a 8046516: Segmentation fault in JVM (easily reproducible)
Place new nodes on the previous loop exit in reorg_offsets().

Reviewed-by: roland
2014-06-12 10:15:43 -07:00
James Cheng
395560c428 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
Add C2 SHA intrinsics on SPARC

Reviewed-by: kvn, roland
2014-06-11 11:05:10 -07:00
Dmitry Fazunenko
f3cb0b79b8 8044673: Create jtreg groups to list GC specific tests
Reviewed-by: dholmes, iignatyev
2014-06-11 18:56:01 +04:00
Tobias Hartmann
83fc2acbd7 8044538: assert(which != imm_operand) failed: instruction is not a movq reg, imm64
Fixed internal_word_Relocation::target() to not retrieve target address from code if relocation points into the constant section. Added test.

Reviewed-by: kvn, twisti, dlong
2014-06-11 09:16:19 +02:00
Daniel D. Daugherty
d5b7b9ffe3 Merge 2014-06-10 20:24:48 -07:00
Igor Ignatyev
01645fc449 Merge 2014-06-10 20:53:23 +00:00
Igor Ignatyev
dc14ad30ce 8044575: testlibrary_tests/whitebox/vm_flags/UintxTest.java failed: assert(!res || TypeEntriesAtCall::arguments_profiling_enabled()) failed: no profiling of arguments
Reviewed-by: kvn, jmasa
2014-06-10 23:18:25 +04:00
Harold Seigel
70c76ec8c4 8044738: Check attribute_length of EnclosingMethod attribute
Add check that attribute_length == 4.

Reviewed-by: fparain, coleenp, lfoltan
2014-06-10 14:04:37 -04:00
Vladimir Ivanov
ea0470002e 8033626: assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place
Reviewed-by: kvn, roland
2014-06-10 10:00:59 +00:00
Nils Eliasson
cdd2105184 8040244: compiler/whitebox/IsMethodCompilableTest.java fails
Prevent from running with Xcomp

Reviewed-by: kvn, twisti
2014-06-09 10:32:49 +02:00
Vladimir Kozlov
655b317ad1 Merge 2014-06-06 11:37:23 -07:00
Jon Masamitsu
24d624d6cb Merge 2014-06-05 10:34:57 -07:00
Bengt Rutisson
9672a26d51 8043607: Add a GC id as a log decoration similar to PrintGCTimeStamps
Reviewed-by: jwilhelm, ehelin, tschatzl
2014-06-19 13:31:14 +02:00
Staffan Larsen
8dc26f1a17 8044107: Add Diagnostic Command to list all ClassLoaders
Reviewed-by: mgerdin, stefank
2014-06-04 11:05:30 +02:00
Mikhailo Seledtsov
36d332413d 8038587: [TESTBUG] Create CDS tests to exercise region sizes and base address
Added new tests to cover missing CDS basic funtions

Reviewed-by: coleenp, ctornqvi
2014-06-02 21:36:59 -04:00
Christian Tornqvist
fd282f6e9a 8044364: runtime/RedefineFinalizer test fails on windows
Rewrote the test in pure Java, added RedefineClassHelper utility class

Reviewed-by: coleenp, allwin, gtriantafill, dsamersoff
2014-06-02 19:08:18 +02:00
Mikael Auno
e563a70ab7 8044540: serviceability/sa/jmap-hashcode/Test8028623.java should be quarantined
Reviewed-by: sla
2014-06-02 17:21:15 +02:00
Katja Kantserova
d48bda2c52 8043915: Tests get ClassNotFoundException: com.oracle.java.testlibrary.StreamPumper
Reviewed-by: sla, allwin
2014-06-02 11:20:14 +02:00
Coleen Phillimore
3656168efc Merge 2014-06-01 11:56:15 -04:00
Christian Thalinger
a9112cd17c Merge 2014-05-30 10:07:19 -07:00
Christian Thalinger
8f1c6dfff7 Merge 2014-05-30 09:49:53 -07:00
Daniel D. Daugherty
ad6d8d6abd 8036823: Stack trace sometimes shows 'locked' instead of 'waiting to lock'
Add a !owner check for 'waiting to lock' to catch current_pending_monitor corner cases.

Co-authored-by: Krystal Mok <rednaxelafx@gmail.com>
Co-authored-by: Zhengyu Gu <zhengyu.gu@oracle.com>
Reviewed-by: dholmes, sspitsyn, kmo, zgu
2014-05-30 07:20:51 -07:00
Jon Masamitsu
7697ac03f5 Merge 2014-05-29 13:01:54 -07:00
Erik Helin
65cf6a8edc 8042933: assert(capacity_until_gc >= committed_bytes) failed
Reviewed-by: stefank, jmasa
2014-05-29 14:31:28 +02:00
Jon Masamitsu
3e5805dc08 Merge 2014-06-02 06:29:34 -07:00
Per Lidén
44fc435b7e 8042310: TestStringDeduplicationMemoryUsage test failing
Reviewed-by: ehelin, jwilhelm
2014-05-30 10:43:51 +02:00
Per Lidén
06a856ab8a 8044132: Quarantine unstable/broken GC tests
Reviewed-by: ehelin, jwilhelm
2014-05-30 10:37:39 +02:00
Christian Tornqvist
436e1ecdf2 8043786: [TESTBUG] runtime/CommandLine/TestHexArguments.java test fails in nightly
Changed test to not pass on external flags to child processes

Reviewed-by: coleenp, hseigel
2014-05-28 22:59:29 +02:00
Dmitry Samersoff
c291efb1df 6904403: assert(f == k-&gt;has_finalizer(),&quot;inconsistent has_finalizer&quot;) with debug VM
Don't assert if one of classes in hierarhy was redefined

Reviewed-by: coleenp, sspitsyn
2014-05-28 07:36:32 -07:00
Igor Ignatyev
cd910ffebb 8043899: compiler/5091921/Test7005594.java fails if specified -Xmx is less than 1600m
Reviewed-by: kvn, twisti, vlivanov
2014-05-28 14:42:00 +04:00
Dmitry Fazunenko
ef1fa497b3 8040250: The test test/gc/parallelScavenge/TestDynShrinkHeap.java fails with OOME
Reviewed-by: jmasa, iignatyev
2014-05-26 19:21:01 +04:00
Filipp Zhinkin
e7419662ba 8038924: Test bit-instructions fails with unexpected exit value on sparc
Reviewed-by: kvn, iignatyev
2014-05-26 19:05:01 +04:00
Roland Westrelin
a7d8aec5fb 8042557: compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: GC triggered before VM initialization completed
Larger heap size, bug fix when trying to exhaust memory

Reviewed-by: vlivanov, twisti, kvn
2014-05-26 10:48:58 +02:00
Coleen Phillimore
f5266ba9b2 Merge 2014-05-23 16:43:47 -04:00
Kirill Shirokov
20674a667a 8032970: Add stack size check methods to WhiteBox API
Reviewed-by: twisti, kvn, iignatyev
2014-05-24 00:04:21 +04:00
Christian Thalinger
67ad89efd5 Merge 2014-05-22 16:26:05 -07:00
Dmitry Samersoff
e70b7ac623 8042155: [TESTBUG] Tests for stack guard pages have to be cleaned up
Tests for 6929067 and 8009062 should be composed to single test that provide better testing for stack guard pages behaviour

Reviewed-by: coleenp, dcubed, dsimms
2014-05-22 13:22:09 -07:00
Jon Masamitsu
6fc7041617 Merge 2014-05-22 06:39:47 -07:00
Christian Thalinger
a0b1b7ca70 Merge 2014-06-02 10:48:02 -07:00
Igor Ignatyev
b053fa4c48 Merge 2014-05-30 20:01:11 +00:00
Albert Noll
f35c3e76a4 Merge 2014-05-30 19:21:42 +00:00
Igor Ignatyev
f99eed3f24 8038756: new WB API :: get/setVMFlag
Reviewed-by: vlivanov, sla
2014-05-30 17:20:48 +04:00
Tobias Hartmann
1ed4c83948 8021775: compiler/8009761/Test8009761.java "Failed: init recursive calls: 51. After deopt 50"
Reimplemented the test using the Whitebox API to deterministically trigger compilation and deoptimization. Now allowing number of recursive calls to vary by 1.

Reviewed-by: twisti, roland, iignatyev
2014-05-30 09:26:48 +02:00
Albert Noll
a3b9ebba8d 8011646: SEGV in compiled code with loop predication
Remove control edge of load node to ensure that castPP removal sets the control edge correctly

Reviewed-by: kvn, roland
2014-05-30 06:50:38 +02:00
Peter Allwin
09afb7b210 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method
Reviewed-by: dholmes, sspitsyn
2014-05-22 09:12:29 +02:00
Coleen Phillimore
b2989563ad Merge 2014-05-21 19:08:08 +00:00
Chuck Rasbold
1bf7f2b9a6 8043354: 8043354: Make is_return_allocated() respect allocated objects than can method-escape
In bcEscapeAnalyzer update the _allocated_escapes flag if a var escapes the method.

Reviewed-by: kvn
2014-05-21 10:54:59 -07:00
Dmitry Fazunenko
049c499423 8039489: Refactor test framework for dynamic VM options
Reviewed-by: jmasa, ehelin, jwilhelm
2014-05-20 18:25:14 +04:00
Jon Masamitsu
92baa3214c Merge 2014-05-19 08:09:35 -07:00
Yumin Qi
ec3e742de1 8042885: java does not take hexadecimal number as vm option
Java does not take number with hexadecimal format as options, fix enable hexadecimal format number can be used as vm option.

Reviewed-by: coleenp, lfoltan, ctornqvi, hseigel, mseledtsov
2014-05-15 20:16:14 -07:00
Lois Foltan
ca501f6b00 8041918: BootstrapMethods attribute cannot be empty
Allow a BootstrapMethods attribute that contains an empty bootstrap_methods table where num_bootstrap_methods is equal to zero.

Reviewed-by: coleenp, hseigel
2014-05-15 09:25:27 -04:00
Christian Tornqvist
d8ec75da34 8042595: [TESTBUG] runtime/7110720/Test7110720.sh rarely fails with message "explicit compiler command file not read"
Removed the shell test and moved the testcases into the already existing Java based tests

Reviewed-by: coleenp, lfoltan
2014-05-14 18:18:58 +02:00
Mikhailo Seledtsov
6e58e65cf7 8041938: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java failed in RT_Baseline with 'Unable to create shared archive file' missing from stdout/stderr
His test is unstable in automated testing system, team agreed to remove it

Reviewed-by: coleenp, gtriantafill
2014-05-14 10:38:40 -04:00
Christian Tornqvist
62f52538a9 Merge 2014-05-12 18:45:09 +00:00
Harold Seigel
976e7c8aa7 8040292: Annotation attributes must not appear more than once
Add checks for duplicate attributes.

Reviewed-by: coleenp, lfoltan
2014-05-12 13:12:30 -04:00
Coleen Phillimore
388434f387 Merge 2014-05-12 09:47:57 -04:00
Mikael Vidstedt
f8bbbb68e6 8042804: Support invoking Hotspot tests from top level
Reviewed-by: sla, erikj
2014-05-12 06:17:05 -07:00
Jon Masamitsu
6049e98a0e 8038928: gc/g1/TestGCLogMessages.java fail with "[Evacuation Failure'
Reviewed-by: ysr, brutisso, tschatzl
2014-05-11 16:35:43 -07:00
Christian Tornqvist
3e6986fb58 8042726: [TESTBUG] TEST.groups file was not updated after runtime/6925573/SortMethodsTest.java removal
Removed runtime/6925573/SortMethodsTest.java from TEST.groups

Reviewed-by: gtriantafill, lfoltan, coleenp, dholmes
2014-05-09 17:06:52 +02:00
Christian Thalinger
b2d6f9f78a Merge 2014-05-08 15:08:45 -07:00
Igor Ignatyev
1af450a3cb 8032498: compiler/ciReplay tests fail with StatusError: failed to clean up files after test..
Reviewed-by: kvn
2014-05-19 23:52:23 +04:00
Coleen Phillimore
39f7049fbb Merge 2014-05-07 18:19:31 -04:00
Coleen Phillimore
7e2463ea72 8023697: failed class resolution reports different class name in detail message for the first and subsequent times
Cache detail message when we cache exception for constant pool resolution.

Reviewed-by: acorn, twisti, jrose
2014-05-05 19:53:00 -04:00
Shrinivas Joshi
d3e5e9eb8d 8042281: compiler/7184394/TestAESMain.java fails with: javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
Added missing -DmsgSize=640 to test's run commands.

Reviewed-by: kvn
2014-05-01 17:57:29 -07:00
Shrinivas Joshi
c0f886ec65 8035936: SIGBUS in StubRoutines::aesencryptBlock, solaris-sparc
Fix the arbitrary alignment issue in SPARC AES crypto stub routines.

Reviewed-by: kvn, iveresov
2014-04-30 14:14:01 -07:00
Igor Ignatyev
3e18a6f16d Merge 2014-05-02 09:30:17 +00:00
Igor Ignatyev
fd25edc683 8042214: add @ignore tag to all excluded jtreg tests in test/compiler
Reviewed-by: kvn, ctornqvi
2014-05-02 13:20:42 +04:00
Albert Noll
4865736713 Merge 2014-05-01 21:30:54 -07:00
Severin Gehwolf
a92fee550e 8041992: Fix of JDK-8034775 neglects to account for non-JIT VMs
Allow 0 compiler threads if no JIT is used.

Reviewed-by: kvn, dholmes
2014-05-02 06:24:39 +02:00
David Chase
cd35f69721 8039407: Regression test needed for JDK-8015396
Converted bug demo into regression test

Reviewed-by: kvn
2014-04-28 15:09:39 -04:00
Bharadwaj Yadavalli
469f17357c Merge 2014-04-25 14:29:47 -04:00
Erik Helin
b5474c811c Merge 2014-04-25 15:50:13 +02:00
Roland Westrelin
633a96c2e3 8041481: JVM crashes with collect_args_for_profiling
Method handle call to c1 intrinsic tries to profile popped argument

Reviewed-by: kvn, twisti
2014-04-25 09:22:16 +02:00
Igor Ignatyev
54479bee2c Merge 2014-04-24 10:32:49 +00:00
Igor Ignatyev
0943a93646 8041497: Compilation of compiler/rtm/cli/TestUseRTMDeoptOption* tests failed
Reviewed-by: kvn, roland
2014-04-24 14:02:48 +04:00
Roland Westrelin
7b1f15e51e 8039960: Unexpected exit from test compiler/profiling/spectrapredefineclass/Launcher.java
The test case doesn't need to change the heap size to reproduce the failure.

Reviewed-by: twisti, kvn
2014-04-24 11:05:07 +02:00
Erik Helin
1e094bab2d Merge 2014-04-23 10:12:34 +02:00