Commit Graph

358 Commits

Author SHA1 Message Date
Gary Collins
4970095c03 Merge 2013-03-28 15:42:11 -07:00
Gary Collins
c2a873f014 8009152: A number of jtreg tests need review/improvement
Added a new test_env.txt file to capture common shell variable. Added concept of COMPILEJAVA for use when TESTJAVA is a JRE. If COMPILEJAVA not set then TESTJAVA will be the default with assumption it is a JDK.

Reviewed-by: kvn, brutisso, coleenp
2013-03-27 09:49:51 -07:00
Bharadwaj Yadavalli
0e9d409036 8009552: test/vm/verifier/TestStaticIF.java failing with hs25.0-b
Remove support for verification of class files with version 52 and above from type inference verifier.

Reviewed-by: acorn, hseigel
2013-03-25 09:36:15 -07:00
Christian Tornqvist
ca4e4e41da Merge 2013-03-24 09:21:37 +01:00
Christian Tornqvist
c458eb3fd6 8008454: test/runtime/NMT/PrintNMTStatistics is broken
Added @run tag so that it actually runs the test, also fixed broken command line and incorrect parsing. Also reviewed by gerard.ziemski@oracle.com

Reviewed-by: mgerdin, zgu
2013-03-24 09:11:55 +01:00
Daniel D. Daugherty
05b3bc59c3 Merge 2013-03-23 22:35:02 -07:00
Ioi Lam
ba67f14480 8010389: After fix for 7107135 a failed dlopen() call results in a VM crash
Call dlerror() in VM thread as necessary.

Reviewed-by: coleenp, dholmes
2013-03-21 20:46:46 -07:00
Christian Tornqvist
b7d738913e 8007982: some runtime/CommandLine/ tests fail on 32-bit platforms
Changed tests to use platform independent flags

Reviewed-by: collins, hseigel, zgu
2013-03-20 20:40:57 +01:00
Christian Tornqvist
3277de9dad 8010084: Race in runtime/NMT/BaselineWithParameter.java
Added a waitFor() on the process

Reviewed-by: mgerdin, sla, zgu
2013-03-20 08:17:55 +01:00
Ron Durbin
f4bcfd04ca 7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
7123945: runtime/6878713/Test6878713.sh require about 2G of native memory, swaps and times out

Add new diagnostic option -XX:MallocMaxTestWords=NNN and fix Test6878713.sh.

Reviewed-by: dcubed, coleenp, dholmes, iklam
2013-03-19 11:33:11 -07:00
Igor Ignatyev
51c733dfb1 8008211: Some of WB tests on compiler fail
Reviewed-by: kvn, vlivanov
2013-03-18 04:29:08 -07:00
Morris Meyer
5b2fed9809 Merge 2013-03-14 16:16:05 -07:00
Aleksey Shipilev
2f5e08742a 8008965: @Contended fails with classes having static fields
Disable @Contended support for static fields

Reviewed-by: coleenp, kvn
2013-03-11 14:00:09 -04:00
Daniel D. Daugherty
f73c8f1408 Merge 2013-03-08 17:14:22 -08:00
Ioi Lam
5116181e1f 7107135: Stack guard pages are no more protected after loading a shared library with executable stack
Detect the execstack attribute of the loaded library and attempt to fix the stack guard using Safepoint op.

Reviewed-by: dholmes, zgu
2013-03-05 13:55:56 -08:00
Bill Pittore
715db0beb3 Merge 2013-03-01 14:06:47 -05:00
Vladimir Ivanov
528aec3f18 Merge 2013-02-28 15:31:03 -08:00
Bengt Rutisson
02472faab5 Merge 2013-02-28 09:01:08 +01:00
Gary Collins
093d1163e4 7115383: TEST_BUG: some jtreg tests fail because they explicitly specify -server option
Small changes to hotspot tests to remove  "-server" and replace with ${TESTVMOPTS}

Reviewed-by: kvn
2013-02-27 20:36:14 -08:00
David Chase
899bcf76ae 8007776: Test6852078.java timeouts
If more than 100 seconds and more than 100 iterations have both passed, then exit is allowed.

Reviewed-by: kvn
2013-02-26 15:38:24 -08:00
Roland Westrelin
c84424d4af 8007722: C2: "assert(tp->base() != Type::AnyPtr) failed: not a bare pointer" at machnode.cpp:376
GetAndSetP's MachNode should capture bottom type.

Reviewed-by: kvn
2013-02-26 12:18:30 +01:00
Roland Westrelin
fe92862089 8007294: ReduceFieldZeroing doesn't check for dependent load and can lead to incorrect execution
InitializeNode::can_capture_store() must check that the captured store doesn't overwrite a memory location that is loaded before the store.

Reviewed-by: kvn
2013-02-25 14:13:04 +01:00
Serguei Spitsyn
f85789e68a Merge 2013-02-22 10:16:51 -08:00
Vladimir Ivanov
1a03134bc8 Merge 2013-02-21 06:29:43 -08:00
Bengt Rutisson
88ec03b622 Merge 2013-02-21 13:13:22 +01:00
John Cuthbertson
1d1641be2f 8008188: Add regression test for 8005875
Add regression test for crash seen in 8005875. Test is run with G1 and PGCT=0 and issues "jcmd <pid> Thread.print" against itself. Without the fix for 8005875 the test will crash.

Reviewed-by: brutisso
2013-02-20 12:52:13 -08:00
Filipp Zhinkin
bfe250c236 8006628: NEED_TEST for JDK-8002870
Regression test for 8000311. Verifies that PLABStats works with zero parallel GC threads.

Reviewed-by: jmasa, johnc
2013-02-19 16:22:28 -08:00
Mikael Gerdin
1d468be4b1 8006753: fix failed for JDK-8002415 White box testing API for HotSpot
Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue

Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
2013-02-19 18:45:49 +01:00
Vladimir Kozlov
656949d014 8004867: VM crashing with assert "share/vm/opto/node.hpp:357 - assert(i < _max) failed: oob"
Added few checks and early bailout from Superword optimization to avoid such cases in a future.

Reviewed-by: roland, twisti
2013-02-18 16:47:15 -08:00
David Chase
8d2496d7de 7102300: performance warnings cause results diff failure in Test6890943
Strip lines matching the performance warning from the output before diff.

Reviewed-by: kvn
2013-02-18 15:08:39 -08:00
David Chase
d867a3f9a8 8008180: Several tests in compiler/5091921 need more time to run
Added an explicit timeouts.

Reviewed-by: kvn, twisti
2013-02-18 14:29:16 -08:00
Dmitry Samersoff
dd9a6fc8eb Merge 2013-02-15 10:29:23 -08:00
Bharadwaj Yadavalli
ff4bbcd501 8007736: VerifyError for static method in interface
Reviewed-by: dholmes, acorn
2013-02-14 14:33:35 -05:00
Vladimir Ivanov
8952875c84 Merge 2013-02-14 05:36:59 -08:00
Bengt Rutisson
c2f4ba73be 8006398: Add regression tests for deprectated GCs
Reviewed-by: ehelin, jwilhelm, jmasa
2013-02-14 09:11:43 +01:00
Igor Ignatyev
034705ee13 8006683: Add WhiteBox API to testing of compiler
Reviewed-by: kvn, vlivanov
2013-02-13 08:29:04 -08:00
Roland Westrelin
05b1c69fc0 8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
Deoptimization doesn't set up callee frames so that they restore caller frames correctly.

Reviewed-by: kvn
2013-03-13 09:44:45 +01:00
Krystal Mo
851ae93451 8002169: TEST_BUG: compiler/7009359/Test7009359.java sometimes times out
Make the test less prone to timeout by reducing the amount of iteration and allowing main to be compiled

Reviewed-by: jrose
2013-02-12 07:39:42 -08:00
Coleen Phillimore
faea95b8d3 8007320: NPG: move method annotations
Allocate method annotations and attach to ConstMethod if present

Reviewed-by: dcubed, jiangli, sspitsyn, iklam
2013-02-11 14:06:22 -05:00
Serguei Spitsyn
6ff685b4c8 Merge 2013-02-08 09:14:06 -08:00
Christian Tornqvist
92053d4fb2 8007434: Write tests for 8006298
Four tests written for 8006298

Reviewed-by: mgerdin, coleenp
2013-02-08 10:42:24 +01:00
Vladimir Ivanov
268a4d605c Merge 2013-02-07 12:23:51 -08:00
Erik Helin
919ef8e0df 8004924: NPG: jmap -heap output should contain ClassMetaspaceSize value
Reviewed-by: stefank, mgerdin
2013-02-06 07:48:02 +01:00
Coleen Phillimore
6101f88a80 Merge 2013-02-04 22:59:45 -08:00
Volker Simonis
37d83019d0 8007475: Memory stomp with UseMallocOnly
Fix off-by-one error

Reviewed-by: coleenp, hseigel
2013-02-04 13:14:12 -05:00
Harold Seigel
1831def9cc 8000968: NPG: UseCompressedKlassPointers asserts with ObjectAlignmentInBytes for > 32G CompressedOops
Pick a base that works for both CompressedOpps alignment and CompressedKlassPtrs alignment.

Reviewed-by: kvn, roland
2013-02-04 08:26:02 -05:00
Christian Tornqvist
898965f458 8000363: runtime/7158988/FieldMonitor.java fails with exception
Removed unnecessary shell script in the test.

Reviewed-by: coleenp, sla
2013-02-02 20:13:27 +01:00
Christian Tornqvist
8734c66d55 8005013: Add NMT tests
Add tests for the Native Memory Tracking feature, includes regression tests for 8005936 and 8004802

Reviewed-by: zgu, coleenp
2013-02-02 16:34:10 +01:00
David Chase
89b8658977 8006500: compiler/8004741/Test8004741.java fails intermediately
Rewrote the test to be more reliable, add test for invalid size exception

Reviewed-by: kvn
2013-01-25 16:09:14 -08:00
Christian Tornqvist
25189c1a6a 8006413: Add utility classes for writing better multiprocess tests in jtreg
Add a few utility classes to test/testlibrary to support multi process testing in jtreg tests. Added a test case for one of the utility classes. Also reviewed by Vitaly Davidovich

Reviewed-by: brutisso, dholmes, vlivanov, nloodin, mgerdin
2013-01-25 10:14:22 +01:00