Commit Graph

231 Commits

Author SHA1 Message Date
George Triantafillou
663ff7ad59 8055052: [TESTBUG] runtime/NMT/JcmdDetailDiff.java fails on Windows when there are no debug symbols available
Reviewed-by: ctornqvi, hseigel
2014-08-22 06:46:29 -07:00
Christian Tornqvist
bf8c47fafe 8055814: [TESTBUG] runtime/NMT/NMTWithCDS.java fails with product builds due to missing UnlockDiagnosticVMOptions
Passing -XX:+UnlockDiagnosticVMOptions to ProcessBuilder

Reviewed-by: zgu, gtriantafill
2014-08-22 09:30:57 -07:00
Christian Tornqvist
655556a4bf 8055164: [TESTBUG] runtime/CompressedOops/CompressedClassPointers.java fails with OpenJDK build
Removed explicit check for HotSpot in output

Reviewed-by: sla, coleenp, hseigel
2014-08-20 14:59:08 -07: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
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
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
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
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
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
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
Vladimir Kozlov
648272884a Merge 2014-08-08 10:35:05 -07: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
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
Igor Ignatyev
ebcdde4222 8051896: jtreg tests don't use $TESTJAVAOPTS
Reviewed-by: kvn, ctornqvi
2014-08-03 12:04:17 +04:00
Igor Ignatyev
726b299ae0 Merge 2014-07-19 13:43:02 +04:00
Igor Ignatyev
e6b1dd586f 8032449: Get rid of JMX in test/compiler
Reviewed-by: kvn
2014-07-19 00:34:20 +04: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
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
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
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
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
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
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
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
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
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
Coleen Phillimore
3656168efc Merge 2014-06-01 11:56:15 -04: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
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
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
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
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
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
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
Harold Seigel
cfa7d828d9 8040018: Remove bad assert in ClassFileParser.cpp
Remove assert that prevent throwing valid exception

Reviewed-by: coleenp, lfoltan
2014-04-18 08:51:34 -04:00
Christian Tornqvist
db9dcbd63b 8040887: [TESTBUG] Remove test/runtime/6925573/SortMethodsTest.java
Removed test/runtime/6925573/SortMethodsTest.java

Reviewed-by: coleenp, rdurbin
2014-04-18 00:19:24 +02:00
Christian Tornqvist
961a489536 6959423: [TESTBUG] runtime/6925573/SortMethodsTest.java times out
Decreased maximum number methods in generated classes and decreased ratio to make it reproduce more often

Reviewed-by: coleenp, lfoltan
2014-04-17 00:03:58 +02:00
Christian Tornqvist
ff48970954 8035173: [TESTBUG] runtime/threads/CancellableThreadTest fails with OOM on windows-i586
Test ported to jtreg, thread pairs decreased from 1024 to 128 to avoid OOM on 32 bit Windows

Reviewed-by: sla, dsimms
2014-04-15 19:03:51 +02:00