Commit Graph

950 Commits

Author SHA1 Message Date
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
Daniel D. Daugherty
e403797d96 Merge 2014-04-18 10:55:41 -07: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
Bharadwaj Yadavalli
32024b5144 Merge 2014-04-17 13:50:26 -04:00
Lev Priima
a138550830 8039260: c.o.j.t.ProcessTools::createJavaProcessBuilder(boolean, String... ) must also take TestJavaOptions
Reviewed-by: kvn, iignatyev
2014-04-17 18:54:09 +04: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
Richard Reingruber
728ea561aa 8038048: assert(null_obj->escape_state() == PointsToNode::NoEscape,etc) runThese -full
Use correct set_escape_state() method.

Reviewed-by: kvn, iignatyev
2014-04-16 14:49:03 -07:00
Thomas Schatzl
c5ef16027b 8019342: G1: High "Other" time most likely due to card redirtying
Parallelize card redirtying to decrease the time it takes.

Reviewed-by: brutisso
2014-04-16 16:46: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
Andrey Zakharov
bacf6d7233 8037925: CMM Testing: an allocated humongous object at the end of the heap should not prevents shrinking the heap
New test added.

Reviewed-by: ehelin, tschatzl, jwilhelm
2014-04-15 18:09:53 +02:00
Roland Westrelin
3a724605fc Merge 2014-04-15 02:27:34 -07:00
Filipp Zhinkin
17ad17c6ec 8040001: CLI test on RTMRetryCount option was missed from fix for 8039496
Reviewed-by: kvn, iignatyev
2014-04-15 12:21:24 +04:00
Lois Foltan
5ca274e0ce 8038076: constraint on multianewarray instruction is not checked since class version 50
No VerifiyError generated if multianewarray bytecode's array type descriptor was 1 dimension smaller than dimensions specified.

Reviewed-by: hseigel, ctornqvi, coleenp, kamg
2014-04-14 10:13:03 -04:00
Peter Allwin
d048828d66 Merge 2014-04-14 10:43:04 +02:00
Erik Helin
9fc2b0affb Merge 2014-04-14 10:08:10 +02:00
Bharadwaj Yadavalli
78e27e22f4 Merge 2014-04-11 15:08:40 -04:00
Andrey Zakharov
514cdc2b0d 8037924: CMM Testing: Check Min/MaxHeapFreeRatio flags allows to shrink the heap when using ParallelGC
New test implemented

Reviewed-by: ehelin, tschatzl
2014-04-11 18:28:39 +02:00
Pavel Punegov
2b5f33db1e 8038418: New tests development for type profiling and speculation
Reviewed-by: roland, iignatyev
2014-04-11 18:46:35 +04:00
Peter Allwin
b12896283b Merge 2014-04-11 13:04:59 +02:00
Erik Helin
8ca6367144 Merge 2014-04-11 10:31:25 +02:00
Filipp Zhinkin
b3c9d243d3 8039496: Add sanity tests on RTM-related command line options
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:28 +04:00
Filipp Zhinkin
746fe025b6 8037860: Add tests to cover Intel RTM instructions support
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:23 +04:00
Filipp Zhinkin
75990f8013 8039499: Add all common classes used by tests on RTM support to testlibrary
Reviewed-by: kvn, iignatyev
2014-04-11 00:35:11 +04:00
Filipp Zhinkin
04d2944301 8039497: Testlibrary should be updated to provide information about all VM types as well as access to Unsafe
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:56 +04:00
Anton Ivanov
2b032b10e1 8038953: Add sanity tests for BMI1 and LZCNT instructions
Reviewed-by: kvn, iignatyev
2014-04-11 00:34:51 +04:00
Dmitry Samersoff
b1295fc704 Merge 2014-04-09 15:01:24 +00:00
Dmitry Samersoff
f359b1fb2c 8029139: [TESTBUG] runtime/InitialThreadOverflow/testme.sh fails with exit code 127
The test launcher compiles against TESTJAVA but LD_LIBRARY_PATH set to COMPILE java.

Reviewed-by: sla, sspitsyn
2014-04-09 07:08:08 -07:00
Dmitry Samersoff
0301b791ef 8037279: runtime/6929067/Test6929067.sh crashes on 32bit linux
The test compile launcher with TESTJAVA but attempt to load vm from COMPILEJAVA

Reviewed-by: sla, sspitsyn
2014-04-09 06:09:43 -07:00
Erik Helin
4bc795f2db Merge 2014-04-08 13:50:58 +02:00
Roland Westrelin
7da7a9c72a 8038636: speculative traps break when classes are redefined
Remove speculative traps that point to methods that are redefined

Reviewed-by: kvn, twisti
2014-04-08 09:51:25 +02:00
Dmitry Samersoff
942d204e59 Merge 2014-04-05 05:55:05 -07:00
Bharadwaj Yadavalli
a12d6f7a1e Merge 2014-04-03 17:05:19 -04:00
Igor Veresov
6428c0a397 8039043: Implicit null check is in the wrong place in C1 -UseCompressedOops
Null check is placed in a wrong place when storing a null to an object field on x64 with compressed oops off

Reviewed-by: roland, vlivanov, kvn
2014-04-02 11:24:51 -07:00
Christian Tornqvist
3c7ebc1745 8028733: [TESTBUG] Remove test exclusion for runtime/6626217/Test6626217.sh
Removed @ignore tag from Test6626217.sh, the fix for 7015395 had already solved the issue but left the @ignore tag

Reviewed-by: sla, lfoltan, gtriantafill
2014-04-02 14:15:39 +02:00
Christian Tornqvist
c3c7dcd507 7049895: [TESTBUG] vmerrors.sh should suppress windows .mdmp files
Added -XX:-CreateMinidumpOnCrash to vmerror.sh to suppress creation of dumps on Windows

Reviewed-by: coleenp, allwin, zgu
2014-04-01 22:39:09 +02:00
Roland Westrelin
f5adc57f94 8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
Make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points.

Reviewed-by: twisti, kvn
2014-04-01 09:36:49 +02:00
Dmitry Samersoff
5c15816a53 Merge 2014-03-30 03:29:48 -07:00
Igor Ignatyev
f5d6f0ceb8 8038393: [TESTBUG] ciReplay/* tests fail after 8034775
Reviewed-by: kvn
2014-03-29 14:54:48 +04:00
Erik Helin
64a7637148 Merge 2014-03-28 10:41:20 +01:00
Nils Eliasson
72ef7a4f74 Merge 2014-03-27 08:03:57 -07:00
Filipp Zhinkin
45dd523fc6 8038193: Add command line option tests for BMI options
Reviewed-by: kvn, iignatyev
2014-03-27 17:29:41 +04:00
Nils Eliasson
c3f6e08de3 Merge 2014-03-27 14:15:42 +01:00
Igor Ignatyev
d9187e9799 8038240: new WB API to get nmethod
Reviewed-by: morris, kvn
2014-03-27 11:17:26 +04:00
Erik Helin
98d8c51389 8027924: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails with warning
Reviewed-by: jmasa, tschatzl
2014-03-26 16:33:13 +01:00
Per Lidén
15efa470b9 8038461: Test gc/g1/TestStringDeduplicationMemoryUsage.java fails with unexpected memory usage
Reviewed-by: jmasa, sjohanss
2014-04-03 10:39:27 +02:00
Poonam Bajaj
1516f610a1 6653795: C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems
Native pointers less than 64 bits wide should be extended as an unsigned number.

Reviewed-by: kvn, kevinw
2014-03-24 08:43:10 -07:00
Filipp Zhinkin
8167043964 8035857: Add tests to verify correctness of operations with BMI1 and LZCNT instructions
Reviewed-by: iveresov, kvn, iignatyev
2014-03-22 00:26:48 +04:00
Erik Helin
386f42f40c Merge 2014-03-21 09:11:56 +01:00
Per Lidén
4a4c0fce93 8029075: String deduplication in G1
Implementation of JEP 192, http://openjdk.java.net/jeps/192

Reviewed-by: brutisso, tschatzl, coleenp
2014-03-18 19:07:22 +01:00
Nils Eliasson
5827f6e16c Merge 2014-03-18 14:22:42 +01:00
Bharadwaj Yadavalli
52f97b0ee1 8036576: jtreg failed on Test6792161 timed out
Increase time out value of test since debug VM executes additional code

Reviewed-by: kvn
2014-03-17 11:33:21 -04:00
Dmitry Samersoff
903d462556 Merge 2014-03-15 04:03:42 -07:00
Nils Eliasson
8c46e61622 Merge 2014-03-14 09:26:27 +01:00
Axel Siebenborn
6035ac234b 8036666: VMTI GetObjectMonitorUsage does not return correct recursion count
Fix object lock recursion count and add test

Reviewed-by: sspitsyn, dsamersoff
2014-03-11 15:22:44 +01:00
Yasumasa Suenaga
57d7e49ab1 7090324: gclog rotation via external tool
GC log rotation can be set via java command line, but customer sometime need to sync with OS level rotation setting.

Reviewed-by: sla, minqi, ehelin
2014-03-28 21:04:37 -07:00
Christian Tornqvist
0b0fdb97ce 8007890: [TESTBUG] JcmdWithNMTDisabled.java fails when invoked with NMT explicitly turned on
Wrapped the test in another layer process creation to avoid NMT being turned on.

Reviewed-by: coleenp, dcubed
2014-03-27 22:36:08 +01:00
Mikhailo Seledtsov
3c58faecfe 8032222: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java fails on Mac OS with java.lang.RuntimeException
Excluded the test from running on Mac OS

Reviewed-by: coleenp, ctornqvi
2014-03-25 09:26:18 -04:00
Mikhailo Seledtsov
ce25911489 8026154: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java failed due to exception
Added statements in the tests to handle failures in sharing

Reviewed-by: zgu, ctornqvi
2014-03-10 14:50:20 -04:00
Igor Veresov
768beb9a23 8031321: Support Intel bit manipulation instructions
Add support for BMI1 instructions

Reviewed-by: kvn, roland
2014-03-12 11:24:26 -07:00
Nils Eliasson
f457cabe80 Merge 2014-03-11 11:26:14 -04:00
Roland Westrelin
e021d60c5a Merge 2014-03-06 02:37:44 -08:00
Roland Westrelin
d5ff84f8b3 8032633: Enable type speculation by default
Enable type speculation

Reviewed-by: kvn
2014-03-06 11:11:04 +01:00
Igor Ignatyev
8439d7fa51 8027124: [TESTBUG] NonTieredLevelsTest: java.lang.RuntimeException: private TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn, roland
2014-03-06 12:47:45 +04:00
Igor Ignatyev
4f2175f088 8027257: [TESTBUG] compiler/ciReplay/TestVM.sh : Error: Could not find or load main class negative_test
Reviewed-by: roland, kvn
2014-03-06 12:46:04 +04:00
Igor Ignatyev
54177912e8 8028482: [TESTBUG] tests that use JMX should be in need_compact3 test group
Reviewed-by: roland, sla, dholmes
2014-03-06 12:45:59 +04:00
Tao Mao
7a39c2c7d5 6521376: MaxTenuringThreshold and AlwayTenure/NeverTenure consistency
Adapt InitialTenuringThreshold and MaxTenuringThreshold according to AlwaysTenure/NeverTenure flag setting.

Reviewed-by: jmasa, tschatzl
2014-03-26 12:49:34 +01:00
Albert Noll
a09c80205a Merge 2014-03-05 01:26:52 -08:00
Albert Noll
9e39a2797d 8036091: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
Start test with -XX:-TieredCompilation so that one compiler thread works

Reviewed-by: kvn, twisti
2014-03-05 10:20:30 +01:00
Albert Noll
796f0c989b Merge 2014-03-04 21:15:33 -08:00
Albert Noll
9150b93093 8036092: [TESTBUG] compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: Unrecognized VM option 'UseTypeSpeculation'
Add -XX:+IgnoreUnrecognizedVMOptions to @main/othervm to make the test pass on Client VM

Reviewed-by: kvn, roland
2014-03-05 06:08:19 +01:00
Vladimir Ivanov
fc6e8666a1 8036100: Default method returns true for a while, and then returns false
Reviewed-by: kvn, jrose
2014-03-04 02:33:10 -08:00
Vladimir Ivanov
3ba019c8b2 8035828: Turn on @Stable support in VM
Reviewed-by: jrose, twisti
2014-03-04 02:20:41 -08:00
Coleen Phillimore
e8d4b7aee3 8036547: test/runtime/CompressedOops/CompressedClassPointers.java fails with product build since -XX:+PrintMiscellaneous is a debug only flag
Use PrintCompressedOopsMode and these other flags that match printing compressed oop information

Reviewed-by: ctornqvi, sla
2014-03-04 09:57:16 -05:00
Dmitry Samersoff
e1998b8813 Merge 2014-03-01 01:36:48 -08:00
Morris Meyer
c696dd6700 Merge 2014-02-28 08:02:20 -08:00
Andrey Zakharov
29387ae1a7 8037510: CMM Testing: Check Min/MaxHeapFreeRatio flags allows to shrink the heap when using ParallelGC
Added tests for Min/MaxHeapFreeRatio flags

Reviewed-by: jwilhelm, tschatzl
2014-03-17 16:29:13 +01:00
Erik Helin
c45adf1dca Merge 2014-03-17 14:54:12 +01:00
Thomas Schatzl
2a8616c9d6 8035654: Add times for evacuation failure handling in "Other" time
Detailed breakdown of time spent in the evacuation failure handling phases to make the "Other" time roughly correspond to the sum of its parts.

Reviewed-by: jwilhelm, jmasa
2014-03-17 10:13:42 +01:00
Thomas Schatzl
80188ce0b2 8035398: Add card redirty time in "Other" time in G1
Show the time taken by card redirtying during GC in a new "Redirty Cards" line.

Reviewed-by: jwilhelm, brutisso
2014-03-17 10:13:27 +01:00
Thomas Schatzl
d3e28ca682 8027295: Free CSet takes ~50% of young pause time
Improve fast card cache iteration and avoid taking locks when freeing the collection set.

Reviewed-by: brutisso
2014-03-17 10:13:18 +01:00
Thomas Schatzl
329e55e7b0 8035406: Improve data structure for Code Cache remembered sets
Change the code cache remembered sets data structure from a GrowableArray to a chunked list of nmethods. This makes the data structure more amenable to parallelization, and decreases freeing time.

Reviewed-by: mgerdin, brutisso
2014-03-17 10:12:21 +01:00
Staffan Larsen
1d81fd35d6 8036010: hs: Some jtreg tests use hard coded ports
Bind to an ephemeral port

Reviewed-by: jbachorik, sla
2014-02-28 14:30:25 +04:00
Roland Westrelin
58c97205d0 8032011: nsk/stress/jck60/jck60022 crashes in src\share\vm\runtime\synchronizer.cpp:239
Biased locking's revoke_bias locks monitor in compiled frame with eliminated lock

Reviewed-by: kvn, iveresov
2014-02-27 09:37:16 +01:00
Staffan Larsen
e1e850a132 8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
Reviewed-by: dcubed, mgronlun
2014-02-26 15:47:44 +01:00
Calvin Cheung
bfbc3a0d51 8025519: [TESTBUG] runtime/7107135/Test7107135.sh need to use COMPILEJAVA for javac task
Modified some tests to use COMPILEJAVA instead of TESTJAVA for javac and include path

Reviewed-by: dholmes, mseledtsov
2014-02-24 21:54:22 -08:00
Harold Seigel
b2c117b170 Merge 2014-02-23 13:16:03 -05:00
George Triantafillou
70c77b3470 8034898: [TESTBUG]: Zero failure project - tag all Runtime JTReg bugs that fail nightly
Use @ignore to exclude failing tests

Reviewed-by: coleenp, ctornqvi, mseledtsov
2014-02-20 16:38:45 -05:00
Vladimir Kozlov
4200d0d095 Merge 2014-02-20 12:20:56 -08:00
Vladimir Kozlov
5117e1a805 Merge 2014-02-19 12:08:49 -08:00
Coleen Phillimore
a9868648e6 7014526: "java -version" crash on sparc with some values of HeapBaseMinAddress
Make default HeapBaseMinAddress the minimum that can be specified.

Reviewed-by: minqi, kvn, tschatzl, dholmes
2014-02-19 02:58:13 +00:00
Coleen Phillimore
db6974faf7 8035132: [TESTBUG] test/runtime/lambda-features/InvokespecialInterface.java test has unrecognized option
Add IgnoreUnrecognizedVMOptions for product mode run

Reviewed-by: ctornqvi, dholmes
2014-02-18 09:54:24 -05:00
Harold Seigel
b4be5da833 Merge 2014-02-15 14:41:04 -05:00
Shanliang Jiang
c9b3cbbdcc 8007710: runtime/7158988/FieldMonitor.java fails with com.sun.jdi.VMDisconnectedException: Connection closed
Reviewed-by: sla, jbachorik, sspitsyn
2014-02-14 16:17:22 +01:00
Erik Helin
c5ef624e7c Merge 2014-02-13 17:57:27 +01:00
Christian Tornqvist
56c2d62e5e 8034781: [TESTBUG] runtime/ClassFileUnsupportedClassFileVersion.java unable to find or load main class
Passed empty string to ProcessBuilder which caused problems on Linux, fixed by checking string length

Reviewed-by: lfoltan, sla, mseledtsov
2014-02-12 20:40:02 +01:00
Albert Noll
39b5a040cd 8032642: [TESTBUG] Fix testbugs in compiler/startup/.*
Fixed issues with these tests

Reviewed-by: kvn, twisti
2014-02-26 07:44:59 +01:00
Roland Westrelin
493557fc90 8031752: Failed speculative optimizations should be reattempted when root of compilation is different
Support for speculative traps that keep track of the root of the compilation in which a trap occurs.

Reviewed-by: kvn, twisti
2014-02-25 18:16:24 +01:00
Albert Noll
a609fe84bb 8034775: Failing to initialize VM when running with negative value for -XX:CICompilerCount
Ensure appropriate min. number of compiler threads (1 for non-tiered, and 2 for tiered)

Reviewed-by: kvn
2014-02-25 13:52:37 +01:00
Christian Tornqvist
dd25d6fed0 8016644: Improve UnsupportedClassVersionError message
Improved the UnsupportedClassVersionError message to hopefully be more user friendly

Reviewed-by: coleenp, dholmes, twisti
2014-02-10 17:49:17 +01:00
Coleen Phillimore
2759eb10ae 8033528: assert(0 <= i && i < length()) failed: index out of bounds
Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.

Reviewed-by: twisti, hseigel
2014-02-07 18:30:27 -05:00
Coleen Phillimore
3eb1ac89c6 8028735: runtime/RedefineObject/TestRedefineObject.java interrupted (timed out?) on solaris_sparcv9-fastdebug-c2-runtime and solaris_x64-debugOpen-c2-runtime
Change GC loop counter to 100 which is enough to test the original problem but doesn't timeout the test.

Reviewed-by: ctornqvi, lfoltan, mseledtsov, sla
2014-02-06 18:57:46 +00:00
Calvin Cheung
a3c78aac2f 8032010: Attempt to resolve abstract method in concrete class fails with AbstractMethodError
Removing a check in LinkResolver::resolve_method() to conform with a change in JVMS-8 5.4.3.3. Method Resolution

Reviewed-by: coleenp, lfoltan
2014-02-05 15:14:47 -08:00
Erik Helin
4b802a6d31 Merge 2014-01-30 14:01:45 +01:00
Harold Seigel
b7100718e8 Merge 2014-01-29 19:54:44 -05:00
Nils Eliasson
0b6a5f744a 8007270: Make IsMethodCompilable test work with tiered
Only c2 compiles counts toward cutoff

Reviewed-by: kvn, roland
2014-01-28 15:05:46 +01:00
Vladimir Kozlov
6e8540ca72 Merge 2014-01-24 09:04:24 -08:00
Albert Noll
3e1a99cabe Merge 2014-01-26 23:01:57 -08:00
Albert Noll
62f89da665 8009738: compiler/6826736/Test.java times out on big machines
Added -Xmx256m -XX:ParallelGCThreads=4 to the test @run command. Verified that 256m is enough to trigger old 6826736 bug.

Reviewed-by: kvn
2014-01-27 07:54:25 +01:00
Vladimir Kozlov
e42f245870 Merge 2014-01-24 13:30:55 -08:00
Roland Westrelin
c19a7e0fa3 8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
Type methods shouldn't always operate on speculative part

Reviewed-by: kvn, twisti
2014-01-24 09:31:53 +01:00
Rickard Bäckman
0b85ee832e 8027754: Enable loop optimizations for loops with MathExact inside
Reviewed-by: kvn, iveresov
2014-01-23 12:08:28 +01:00
Vladimir Ivanov
91573b8695 8031695: CHA ignores default methods during analysis leading to incorrect code generation
Reviewed-by: jrose, acorn, hseigel, lfoltan
2014-01-23 01:23:23 +04:00
Igor Veresov
0c43978be6 8031743: C2: loadI2L_immI broken for negative memory values
Restrict loadI2L_imm optimizations to positive values of mask

Reviewed-by: kvn, dlong
2014-01-21 20:05:28 -08:00
Gerard Ziemski
7591b3dd89 7015395: [TESTBUG] runtime/6626217/Test6626217.sh fails if compilation happens fast enough for timestamps to be equal
Insert 2 second sleep between copying of the src files and the compilation, to make sure the timestamps of *.class files are in the future of *.java files.

Reviewed-by: coleenp, fparain
2014-01-21 16:45:10 -06:00
Stefan Sarne
4a7bc8eccd 8032662: test/compiler/ciReplay/TestSA.sh should report ulimit issues
Reviewed-by: kvn, iignatyev
2014-01-27 10:57:52 +01:00
Harold Seigel
39f19c2f76 8028553: The JVM should not throw VerifyError when 'overriding' a static final method in a superclass
Check if method is static before throwing exception.

Reviewed-by: kamg, coleenp, lfoltan, fparain
2014-01-24 08:13:42 -05:00
Kevin Walls
076122acf6 8032466: serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors
Reviewed-by: dsamersoff, sla
2014-01-23 09:33:50 +00:00
Kevin Walls
dd35520229 Merge 2014-01-20 09:56:47 +00:00
Harold Seigel
9aea544943 Merge 2014-01-19 20:23:46 -05:00
Igor Veresov
2275de8d6b 8032207: C2: assert(VerifyOops || MachNode::size(ra_) <= (3+1)*4) failed: bad fixed size
Fix the sizing of loadUS2L_immI16 and loadI2L_immI

Reviewed-by: kvn, azeemj
2014-01-17 18:09:08 -08:00
Morris Meyer
92d751996e Merge 2014-01-17 10:43:43 -08:00