Commit Graph

908 Commits

Author SHA1 Message Date
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
Kevin Walls
ded754b7b2 8028623: SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters
Reviewed-by: sla, dsamersoff
2014-01-17 18:39:22 +00:00
Coleen Phillimore
d6a0a9d513 8032024: Test not added for bug 8025937: assert(existing_f1 == NULL || existing_f1 == f1) failed: illegal field,change
Test didn't get hg added with original bug fix

Reviewed-by: jrose, hseigel, lfoltan
2014-01-17 11:21:29 -05:00
Calvin Cheung
7f34fe7eee 8027314: Java should recognize Diagnostic options if -XX:+UnlockDiagnosticVMOptions is not specified and print an informative message
Clarifying the error messages associated with vm options of type diagnostic, experimental, develop, and notproduct

Reviewed-by: kvn, twisti, ctornqvi
2014-01-16 10:51:16 -08:00
Mikhailo Seledtsov
735887477f 8031151: Add basic CDS tests
Added new tests to cover missing CDS basic funtions

Reviewed-by: zgu, hseigel
2014-01-15 19:12:45 -05:00
Stefan Johansson
a23ee6de8d 8031686: G1: assert(_hrs.max_length() == _expansion_regions) failed
Using pointer_delta to avoid overflowing pointer calculation.

Reviewed-by: jmasa, tschatzl
2014-01-20 10:55:54 +01:00
David Simms
3529de993d 6945460: [TESTBUG] runtime/6929067/Test6929067.sh
Change link order for the test

Reviewed-by: coleenp, mgerdin
2014-01-15 11:46:19 +01:00
Shrinivas Joshi
d4c9d3889b 8002074: Support for AES on SPARC
Add intrinsics/stub routines support for single-block and multi-block (as used by Cipher Block Chaining mode) AES encryption and decryption operations on the SPARC platform.

Reviewed-by: kvn, roland
2014-01-14 17:46:48 -08:00
George Triantafillou
e5a5aefdfb 8028398: [TESTBUG]: test/runtime/memory/ReadFromNoaccessArea.java failed with EXCEPTION_ACCESS_VIOLATION
Remove ignore label

Reviewed-by: sla, mseledtsov
2014-01-14 13:51:47 -05:00
Thomas Schatzl
4bb3631855 8027476: Improve performance of Stringtable unlink
8027455: Improve symbol table scan times during gc pauses

Parallelize string table and symbol table scan during remark and full GC. Some additional statistics output if the experimental flag G1TraceStringSymbolTableScrubbing is set.

Reviewed-by: mgerdin, coleenp, brutisso
2014-01-20 11:47:07 +01:00
Zhengyu Gu
509d617369 8031530: [TESTBUG] Enable test runtime/LoadClass/LoadClassNegative.java
Re-enabled the test. The issue that prevents this test from running was fixed by 8020675

Reviewed-by: sla, ccheung
2014-01-13 10:05:37 -05:00
Fredrik Arvidsson
6c1b243c0e 8031304: Add dcmd to print all loaded dynamic libraries
Adding VM.dynlibs as a dcmd to dump all loaded dynamic libraries.

Reviewed-by: sla, fparain, mgronlun, dsamersoff
2014-01-14 15:27:01 +01:00
Harold Seigel
f84476eec5 Merge 2014-01-13 18:30:57 -05:00
Morris Meyer
a665235538 Merge 2014-01-10 12:54:08 -08:00
Calvin Cheung
9d16ac7083 8022301: [TESTBUG] runtime/jsig/Test8017498.sh incorrectly compiles native code
Added the '-m32' compile option and the '-z noexecstack' link option

Reviewed-by: mseledtsov, zgu
2014-01-09 15:48:00 -08:00
Erik Helin
c6faff2824 Merge 2014-01-09 16:53:51 +01:00
Roland Westrelin
cb7814987c 8029873: compiler/uncommontrap/TestStackBangRbp.java crashes with SIGSEGV
May end up in uncommon trap blob/deopt blob with unguarded stack

Reviewed-by: kvn, twisti
2014-01-08 09:49:31 +01:00
Roland Westrelin
417b5f07b7 8027571: fatal error: meet not symmetric
Meet of one constant array and one exact array not symmetric.

Reviewed-by: kvn
2014-01-07 16:02:10 +01:00
Roland Westrelin
7c32ed31d2 8028536: Test cases to cover type system fixes pushed with 8024070
Extra test cases for type speculation

Reviewed-by: kvn
2014-01-07 12:38:22 +01:00
Harold Seigel
6794647135 8030955: assert(_prologue != NULL) failed: prologue pointer must be initialized
Allow multiple calls to PerfMemory::destroy()

Reviewed-by: zgu, coleenp
2014-01-06 08:44:24 -05:00
Mikael Vidstedt
a0da47fd66 8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
Copyright year updated for files modified during 2013

Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Harold Seigel
ac9faf4243 8023735: [TESTBUG] runtime/XCheckJniJsig/XCheckJSig.java fails on MacOS X
Look for libjsig in correct locations and do not fail if it's not found

Reviewed-by: zgu, ccheung
2013-12-23 18:44:59 -05:00
George Triantafillou
dbde42105e 8021774: [TESTBUG] Tests failed because of a warning in its output
Remove check for warning

Reviewed-by: zgu, mseledtsov
2013-12-23 10:13:42 -05:00
Bengt Rutisson
fd42fb4446 8027440: DefNew does not log heap change information when a promotion failure occurs
Reviewed-by: tamao, jmasa
2013-12-16 13:43:06 +01:00
Igor Ignatyev
55ff73a553 8026941: [TESTBUG] java.lang.ClassNotFoundException: java.lang.invoke.InvokeGeneric
Reviewed-by: kvn, vlivanov
2013-12-13 00:34:09 +04:00
Igor Ignatyev
6780ffeaa6 8029153: [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
Reviewed-by: twisti
2013-12-11 01:09:04 +04:00
Igor Ignatyev
5e69eb1595 8028122: [TESTBUG] compiler/regalloc/C1ObjectSpillInLogicOp.java
Reviewed-by: kvn, twisti
2013-12-11 01:04:34 +04:00
Erik Helin
96a77ee8e6 Merge 2014-02-10 13:31:22 +01:00
Erik Helin
814dad45e0 8028254: gc/arguments/TestMinInitialErgonomics.java failed with unexpected initial heap size
Reviewed-by: brutisso, tschatzl, sjohanss
2014-02-05 10:09:54 +01:00
Erik Helin
d52699c497 Merge 2014-02-03 10:49:49 +01:00
Thomas Schatzl
0bc1701ea0 8032771: The flag VerifySilently misses a test case
Add test case for the VerifySilently flag.

Reviewed-by: brutisso
2014-01-31 09:55:59 +01:00
Christian Thalinger
e71c8df213 8029366: ShouldNotReachHere error when creating an array with component type of void
Reviewed-by: kvn
2013-12-06 16:43:56 -08:00
Lois Foltan
5ece6fc7fd 8028741: Interface Method Resolution should skip static and non-public methods in j.l.Object
Implementation of JDK 8 JVMS 5.4.3.4 specification change to skip static and non-public methods of java.lang.Object for interface method resolution.

Reviewed-by: acorn, coleenp
2013-12-10 16:18:26 -05:00
Albert Noll
dacc8e143f Merge 2013-12-05 12:49:55 -08:00
Anton Ivanov
b6d0b72ec0 8028587: New tests development for intrisics for basic operators - add, neg, inc, dec, sub, mul
Reviewed-by: twisti
2013-12-31 19:26:57 +04:00
Albert Noll
2eb5e0e89d 8028052: compiler/startup/SmallCodeCacheStartup.java fails there is no 'no space to run compiler' in the output
Weaken test so that configurations that have no C1 compiler pass

Reviewed-by: iveresov
2013-12-20 10:31:14 +01:00
Albert Noll
066ad17893 8030783: Provide regression test for 8026478: -XX:+VerifyAdapterSharing is broken
Added simple regression test

Reviewed-by: iveresov
2013-12-20 10:29:44 +01:00
Karen Kinnear
b5f2f33aaa 8026066: ICCE for invokeinterface static
Reviewed-by: coleenp, lfoltan, hseigel
2013-12-03 08:36:15 -08:00
David Chase
4620107099 Merge 2013-11-29 11:32:45 -05:00
David Chase
78f1afbf45 8016839: JSR292: AME instead of IAE when calling a method
Catch missing-because-illegal case for itable entries and use an exception-throwing method instead of null.

Reviewed-by: acorn, jrose, coleenp
2013-11-26 18:16:04 -05:00
George Triantafillou
1ee6fad9ba 8028160: [TESTBUG] Exclude failing (runtime) jtreg tests using @ignore
Use @ignore to exclude failing tests

Reviewed-by: coleenp, ctornqvi, mseledtsov
2013-11-26 16:03:57 -05:00
Markus Grönlund
1bb792465e Merge 2013-11-22 20:26:36 +01:00
Rickard Bäckman
c5b9d5ccd3 8028624: [TESTBUG] compiler/intrinsics/mathexact/DecExactLTest executes DecExactITest
Reviewed-by: kvn, twisti
2013-11-22 15:26:37 +01:00
Rickard Bäckman
57e01f1502 8028997: mathexact intrinsics are unstable
Reviewed-by: iveresov, kvn
2013-11-22 14:14:26 +01:00
Roland Westrelin
319bfa3852 8028308: nsk regression, assert(obj->is_oop()) failed: not an oop
Rbp not restored when stack overflow is thrown from deopt/uncommon trap blobs

Reviewed-by: kvn, iveresov
2013-11-20 12:46:08 +01:00
Markus Grönlund
689cc9ddb7 Merge 2013-11-15 21:39:27 +01:00
David Chase
05c34edee7 Merge 2013-11-14 13:38:49 -08:00
David Chase
19a06cc147 Merge 2013-11-14 15:58:12 -05:00
Erik Helin
66e2f70db7 Merge 2013-11-14 21:05:16 +01:00
Yumin Qi
7496b461e3 8025632: Remove all references to MagicLambdaImpl from Hotspot
MagicLambdaImpl was removed from jdk side, this should be done in vm side too

Reviewed-by: coleenp, hseigel, rdurbin
2013-11-13 16:24:33 -08:00
Roland Westrelin
3fbc683322 8027572: assert(r != 0) failed: invalid
Null classes should be expected in profiles with conflicts

Reviewed-by: kvn, iveresov
2013-11-13 13:45:50 +01:00
Roland Westrelin
a5b4fba397 Merge 2013-11-13 01:50:14 -08:00
Roland Westrelin
44f0952afe 8027631: "unexpected profiling mismatch" error with new type profiling
Inlined method handle calls can call methods with different signatures

Reviewed-by: kvn, iveresov
2013-11-13 09:45:58 +01:00
Rickard Bäckman
9c845933bd 8028207: assert(_outcnt==1) failed: not unique in compile.cpp
Reviewed-by: iveresov, kvn
2013-11-12 14:52:48 +01:00
Rickard Bäckman
0ef4539a9f 8028198: SIGSEGV in PhaseIdealLoop::build_loop_late_post
Reviewed-by: iveresov, kvn
2013-11-12 13:47:57 +01:00
Mikael Gerdin
0a6481ef3a Merge 2013-11-08 23:49:20 +00:00
Mikael Gerdin
90ed74aa8c Merge 2013-11-11 16:20:48 +01:00
Alkesey Timofeev
722d25b2dd 8027237: New tests on ReservedSpace/VirtualSpace classes
Three tests added: 1) test stressing VirtualSpace by resizing it constantly 2) test running unit tests in several threads 3) test checking protected area in ReservedHeapSpace class

Reviewed-by: stefank, zgu
2013-11-08 16:48:21 +01:00
Alejandro Murillo
4bfde2eab7 Merge 2013-11-08 07:02:53 -08:00
Thomas Schatzl
6f46da6198 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
Change checks for isHumongous() to continuesHumongous() as installing a code root for a humongous object is valid, but not for continuations of humongous objects. Cleaned up asserts.

Reviewed-by: jmasa, tamao
2013-11-07 15:17:10 +01:00
Mikael Vidstedt
e80dce6a4d 8026775: nsk/jvmti/RedefineClasses/StressRedefine crashes due to EXCEPTION_ACCESS_VIOLATION
Uncommon trap blob did not bang all the stack shadow pages

Reviewed-by: kvn, twisti, iveresov, jrose
2013-11-06 06:51:24 -08:00
Alejandro Murillo
930baab448 Merge 2013-11-05 14:06:23 -08:00
Igor Veresov
c78419253b Merge 2013-11-05 02:29:41 -08:00
Igor Veresov
7899a729a9 8027751: C1 crashes in Weblogic with G1 enabled
Keep T_OBJECT operands in registers for logical operations on x64

Reviewed-by: kvn, roland
2013-11-05 00:59:30 -08:00
Roland Westrelin
c8757a5edd 8027445: SIGSEGV at TestFloatingDecimal.testAppendToDouble()I
String.equals() intrinsic shouldn't use integer length input in pointer arithmetic without an i2l.

Reviewed-by: kvn, twisti
2013-11-04 21:59:54 +01:00
Rickard Bäckman
897e6d41f6 8027622: java.time.Instant.create failing since hs25-b56
Reviewed-by: kvn, iveresov
2013-11-04 10:44:46 +01:00
Alejandro Murillo
2c2fcae7df Merge 2013-11-02 13:02:59 -07:00
Jesper Wilhelmsson
0fa3a71c8a 8016309: assert(eden_size > 0 && survivor_size > 0) failed: just checking
7057939: jmap shows MaxNewSize=4GB when Java is using parallel collector

Major cleanup of the collectorpolicy classes

Reviewed-by: tschatzl, jcoomes
2013-11-01 17:09:38 +01:00
Igor Veresov
7e10db0ef4 Merge 2013-10-31 15:04:43 -07:00
Igor Veresov
2775c9a68e Merge 2013-10-31 14:54:14 -07:00
Erik Helin
81eb5be18f Merge 2013-10-31 21:20:00 +01:00
Igor Veresov
e43ac25584 8026735: Stream tests throw java.lang.IncompatibleClassChangeError
Put a band-aid to disable CHA-based inlining for interfaces with default methods in C1

Reviewed-by: kvn, twisti
2013-10-30 22:55:11 -07:00
Lana Steuck
fdb505344e Merge 2013-10-30 13:43:16 -07:00
Rickard Bäckman
612252d7a2 8027444: mathExact: assert(i < _max) failed: oob: i=1, _max=1
Reviewed-by: duke
2013-10-30 13:14:09 +01:00
Lana Steuck
e95dd7d93a Merge 2013-10-28 12:25:44 -07:00
Bengt Rutisson
f12f991935 8027132: Print deprecation warning message for the flags controlling the CMS foreground collector
Reviewed-by: stefank, ehelin, ysr, tschatzl
2013-10-28 13:27:57 +01:00
Rickard Bäckman
4d9e812aa2 8027353: Exact intrinsics: assert(n != NULL) failed: must not be null
Reviewed-by: kvn, roland
2013-10-28 08:34:10 +01:00
Igor Veresov
1c02aa59c9 Merge 2013-10-28 17:32:02 -07:00
Calvin Cheung
bea255ee35 Merge 2013-10-25 22:06:43 -07:00
Albert Noll
87fe2fdf42 8026949: -Xint flag prints wrong warning: Initialization of C1 thread failed (no space to run compilers)
Exit compiler threads early during startup so that wrong error message is not printed

Reviewed-by: iveresov, twisti
2013-10-25 22:57:13 +02:00
Coleen Phillimore
3e6630c07b 8024927: Nashorn performance regression with CompressedOops
Allocate compressed class space at end of Java heap.  For small heap sizes, without CDS, save some space so compressed classes can have the same favorable compression as oops

Reviewed-by: stefank, hseigel, goetz
2013-10-25 15:19:29 -04:00
John Coomes
ca4a0c5c64 Merge 2013-10-25 08:38:42 -07:00
Igor Veresov
986d2145ba Merge 2013-10-24 16:25:24 -07:00
Igor Veresov
e1fbf928ef Merge 2013-10-24 16:14:28 -07:00
Calvin Cheung
ded45d0129 Merge 2013-10-24 17:20:39 -04:00
Fredrik Arvidsson
e731a6d078 8026808: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failed with unexpected exit value
Fixes a bug with vmArgs when using JDKToolLauncher

Reviewed-by: sla, dholmes
2013-10-23 10:24:28 +02:00
Harold Seigel
286c6a3d50 Merge 2013-10-22 22:14:57 -04:00
Mikhailo Seledtsov
4ac64cd06d 8026809: [TESTBUG] Create regression test for JDK-8026041
Created simple regression test for the bug

Reviewed-by: hseigel, lfoltan, zgu
2013-10-22 15:54:50 -04:00
John Coomes
7ca427bc4f Merge 2013-10-22 12:03:50 -07:00
Lois Foltan
033c5b68ea 8026394: Eclipse fails with JDK8 build 111
If the resolved interface does not itself contain "clone" or "finalize" methods, the method/interface method resolution looks to the interface's super class, java.lang.Object.  With the JDK 8 interface method accessability check requirement, since these two methods are declared within Object as protected, they must be special cased in LinkResolver::check_method_accessability() in order to avoid an IAE.

Reviewed-by: acorn, dholmes
2013-10-22 14:47:59 -04:00
David Holmes
e88385939f Merge 2013-10-21 21:06:20 -04:00
David Holmes
0eef926855 8026872: [TESTBUG] Classes OOMCrashClass4000_1.class and OOMCrashClass1960_2.class from runtime/ClassFile/ tests won't run on compact profiles
Reviewed-by: sla, sspitsyn
2013-10-21 20:51:03 -04:00
Stefan Karlsson
ddd9098a27 8026781: Add missing test to exercise -XX:+UseLargePagesInMetaspace
Reviewed-by: mgerdin, brutisso
2013-10-21 09:34:10 +02:00
Karen Kinnear
0e34fa065a 8026893: Push 8026365 to TL early and add test
Reviewed-by: dcubed, kamg
2013-10-19 18:32:34 -04:00
Calvin Cheung
e187f54e56 Merge 2013-10-18 19:44:40 -07:00
John Coomes
8d381f2b2e Merge 2013-10-18 12:10:44 -07:00
Karen Kinnear
4f064cafe6 8026365: NoClassDefinitionFound for anonymous class invokespecial
Reviewed-by: dcubed, kamg
2013-10-17 23:30:17 -04:00
Igor Veresov
d94fef24b5 Merge 2013-10-17 10:58:45 -07:00
Lois Foltan
21627fb02f 8024804: Crash when InterfaceMethodref resolves to Object.registerNatives
Added check for NULL prior to continuation of method look up to avoid runtime crash during look up of Object's superclass' methods.

Reviewed-by: coleenp, hseigel
2013-10-16 14:32:05 -04:00
Stefan Karlsson
9f6e8976d0 Merge 2013-10-15 07:10:09 -07:00
Mikael Gerdin
3b3afe75fb Merge 2013-10-15 04:29:21 -07:00
Per Lidén
c6e227a3e6 8024634: gc/startup_warnings tests can fail due to unrelated warnings
Reviewed-by: brutisso, jwilhelm, tamao
2013-10-15 11:44:47 +02:00
Per Lidén
908dd54639 8023158: hotspot/test/gc/7168848/HumongousAlloc.java fails 14 full gcs, expect 0 full gcs
Reviewed-by: brutisso, tschatzl
2013-10-15 11:38:47 +02:00
Thomas Schatzl
fa38a2edca 8026186: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Compilation failed
After a method rename in JDK-8014905 the mentioned test did not compile any more. Fix the uses of the affected method.

Reviewed-by: jwilhelm, mgerdin, jmasa
2013-10-15 11:18:42 +02:00
Rickard Bäckman
615376fb9b 8026844: Various Math functions needs intrinsification
Reviewed-by: kvn, twisti
2013-10-18 10:41:56 +02:00
Roland Westrelin
1b5bd82335 8024070: C2 needs some form of type speculation
Record unused type profile information with type system, propagate and use it.

Reviewed-by: kvn, twisti
2013-10-23 12:40:23 +02:00
Igor Ignatyev
1fbfd1734c 8026865: [TESTBUG] 'compiler/print/PrintInlining.java' should specify -XX:+UnlockDiagnosticVMOptions
Reviewed-by: twisti, iveresov
2013-10-21 09:21:41 +04:00
Igor Veresov
9bf565afeb Merge 2013-10-19 22:22:05 -07:00
Igor Ignatyev
50b8567c55 8023318: compiler/whitebox tests timeout with enabled TieredCompilation
Reviewed-by: kvn, twisti
2013-10-19 21:54:46 +04:00
Igor Ignatyev
fce1adef81 8026414: [TESTBUG] Tests for Tiered/NonTiered levels
Reviewed-by: twisti, iveresov
2013-10-19 21:54:44 +04:00
Stefan Johansson
3e9df3ecf1 8025661: Ill-formed -Xminf and -Xmaxf options values interpreted as 0
Using strtod() instead of atof() when parsing -Xminf and -Xmaxf.

Reviewed-by: brutisso, pliden
2013-10-14 14:21:34 +02:00
Calvin Cheung
b6b00269d9 Merge 2013-10-11 18:23:44 -07:00
John Coomes
e61cbf8d69 Merge 2013-10-11 08:27:21 -07:00
Fredrik Arvidsson
44c3da1ed0 8026199: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Compilation failed
Fixed a compilation failure due to changed method name

Reviewed-by: sla, jbachorik
2013-10-11 13:48:02 +02:00
Rickard Bäckman
0e8081e57b 8025657: compiler/intrinsics/mathexact/ConstantTest.java fails on assert in lcm.cpp on solaris x64
Reviewed-by: kvn, twisti
2013-10-11 12:06:14 +02:00
David Chase
b1d7228bff 8026124: JSR-292 bug: java.nio.file.Path.toString cores dump
Catch problem case, assert it matches valid input, new test

Reviewed-by: jrose, twisti, kvn
2013-10-12 17:26:41 -04:00
Igor Veresov
db9a439624 Merge 2013-10-13 13:22:24 -07:00
Albert Noll
aef0d74e96 8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
Ensure ensure correct initialization of compiler runtime

Reviewed-by: kvn, twisti
2013-10-10 15:44:12 +02:00
Igor Veresov
f2e6d682a1 Merge 2013-10-08 07:08:27 -07:00
Mikhailo Seledtsov
2b82651ec0 8023796: [TESTBUG] Add -XX:-TransmitErrorReport to runtime/6888954/vmerrors.sh
Added -XX:-TransmitErrorReport to the test

Reviewed-by: stefank, ctornqvi
2013-10-06 16:13:50 +02:00
John Coomes
875078a4e0 Merge 2013-10-04 13:37:25 -07:00
Fredrik Arvidsson
d3094c0e8c 6313383: SA: Update jmap to support HPROF binary format "JAVA PROFILE 1.0.2"
Adds support for large(>4G) heap dumps in hprof format. Adds tests and updates testlibrary.

Reviewed-by: sla, allwin
2013-10-04 13:44:49 +02:00
Stefan Karlsson
3b34e78d20 8024838: Significant slowdown due to transparent huge pages
Don't turn on transparent huge pages (-XX:+UseTransparentHugePages) unless explicitly specified on the command line. This has the effect that large pages are never turned on Linux unless the user has explicitly enabled any of the large pages flags: -XX:+UseLargePages, -XX:+UseTransparentHugePages, -XX:+UseHugeTLBFS, and -XX:+UseSHM.

Reviewed-by: jwilhelm, tschatzl, brutisso
2013-10-05 10:14:58 +02:00
Calvin Cheung
48a315bb52 Merge 2013-10-04 21:00:43 -07:00
Igor Veresov
51a9303c03 Merge 2013-10-03 16:38:21 +04:00
Albert Noll
4f459e644f 8025656: compiler/8013496/Test8013496.sh fails on assert
Ensure the thread is in correct state; rewrote test in Java

Reviewed-by: kvn, twisti
2013-10-04 09:19:13 +02:00
Erik Helin
ac15ca0d6a Merge 2013-10-02 18:24:58 +02:00
Mikhailo Seledtsov
a97a2ad3c6 8025671: Test name changed, test list not updated. Test6878713.sh
Removed the obsolete test from the test group file

Reviewed-by: sla, ctornqvi, dholmes
2013-10-02 15:17:20 +02:00
Mikael Gerdin
9204842093 8012525: gc/metaspace/G1AddMetaspaceDependency.java Test fails a safepoint timeout assertion or hangs
Reviewed-by: brutisso, tschatzl
2013-10-02 14:33:32 +02:00
Thomas Schatzl
f144f37f49 8025441: G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads
The initialization for the remembered set summary data structures used the wrong thread count, i.e. number of worker threads instead of number of refinement threads.

Reviewed-by: brutisso
2013-09-30 12:43:59 +02:00
Erik Helin
2722c5d966 8025226: TestPerfCountersAndMemoryPools.java fails with -Xmixed or -Xcomp
Reviewed-by: brutisso, mgerdin
2013-09-30 11:39:07 +02:00
David Chase
02f6818d8f 8025260: Methodhandles/JSR292: NullPointerException (NPE) thrown instead of AbstractMethodError (AME)
Copied null-checks from templateInterpreter_CPU into methodHandles_CPU

Reviewed-by: jrose, twisti
2013-09-27 13:36:25 -04:00
Zhengyu Gu
bfafab7b47 Merge 2013-09-27 10:08:56 -04:00
Igor Ignatyev
30874d35f1 8023452: TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn
2013-09-28 12:32:10 +04:00
Igor Ignatyev
74b0d053ee 8024678: Java source files in hotspot/test/testlibrary should not use @author tag in JavaDoc
Reviewed-by: twisti
2013-09-28 12:32:09 +04:00
Niclas Adlertz
562ce20154 Merge 2013-09-27 12:43:51 -07:00
Rickard Bäckman
441f1d74cf 8024924: Intrinsify java.lang.Math.addExact
Reviewed-by: kvn, twisti
2013-09-27 08:39:19 +02:00
Niclas Adlertz
3554ed5490 Merge 2013-09-26 08:48:15 +02:00
Christian Tornqvist
18550f7774 8024492: [TESTBUG] Test library class Platform.java needs to include methods for missing OS's and architectures
Added methods for 32bit, arm, ppc, x64 and x86

Reviewed-by: zgu, hseigel, mseledtsov
2013-09-25 17:47:51 +02:00
Christian Tornqvist
81505a6a57 8024677: [TESTBUG] Move tests for classes in /testlibrary
Moved the tests to /testlibrary_tests and updated TEST.groups

Reviewed-by: dholmes, sla
2013-09-25 17:47:22 +02:00
Vladimir Kozlov
0ccb2841ea 8022585: VM crashes when ran with -XX:+PrintInlining
Use adr_at() to access inline info structures in growableArray. Add ability to specify print inlining per method.

Reviewed-by: twisti
2013-09-24 16:08:00 -07:00
Thomas Schatzl
9149bde0f3 Merge 2013-09-27 11:18:26 +02:00
Thomas Schatzl
bd9ffce267 8014078: G1: improve remembered set summary information by providing per region type information
Add memory consumption breakdown on a per region type in the G1 remembered set summary statistics. This simplifies remembered set memory consumption analysis.

Reviewed-by: brutisso
2013-09-26 12:49:45 +02:00