Commit Graph

919 Commits

Author SHA1 Message Date
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
Daniel D. Daugherty
156b06d897 Merge 2013-09-20 12:58:35 -07:00
Niclas Adlertz
afef481831 Merge 2013-09-19 18:01:39 +02:00
Harold Seigel
a1f3a95880 8024517: runtime/CDSCompressedKPtrs/XShareAuto.java failed with RuntimeException
Make sure CDS is off by default when running server compiler.

Reviewed-by: dholmes, coleenp
2013-09-19 11:04:23 -04:00
Thomas Schatzl
0a1b832ae0 Merge 2013-09-19 09:34:20 +02:00
Thomas Schatzl
9005953c71 Merge 2013-09-19 09:26:08 +02:00
Bertrand Delsart
765632873a Merge 2013-09-18 21:47:51 -07:00
Thomas Schatzl
3111ab9115 Merge 2013-09-18 15:59:41 +02:00
Thomas Schatzl
3e4a59f797 8024662: gc/arguments/TestUseCompressedOopsErgo.java does not compile
Fix compilation error and use of an outdated VM option in the test

Reviewed-by: stefank, jwilhelm
2013-09-18 10:02:19 +02:00
Erik Helin
2cab7ea037 8024718: Metaspace performance counters and memory pools should report the same data
Reviewed-by: stefank, dholmes, coleenp
2013-09-17 20:59:07 +02:00
Mikhailo Seledtsov
876967ae1f 7149464: [TESTBUG] Test runtime/7020373/Test7020373.sh failed to clean up files after test
Re-wrote in Java, this also eliminated temporary result file; set upper limit on malloc'd memory

Reviewed-by: dcubed, dholmes, ccheung
2013-09-17 20:20:03 +02:00
Mikhailo Seledtsov
a19b450d56 8016029: test runtime/6878713/Test6878713.sh failed
Rewrote test in Java; updated the test condition to reflect latest changes in the source

Reviewed-by: dholmes, ctornqvi
2013-09-17 20:09:32 +02:00
Christian Tornqvist
0051ace82a 8014905: [TESTBUG] Some hotspot tests should be updated to divide test jdk and compile jdk
Change JDKToolFinder to look in compile.jdk if the executable cannot be found in test.jdk

Reviewed-by: dholmes, hseigel
2013-09-17 16:55:53 +02:00
Jesper Wilhelmsson
e6c8a775ed 8024884: Test name changed, test list not updated
Updated the test list with the new test name.

Reviewed-by: brutisso, ehelin
2013-09-17 14:02:53 +02:00
Thomas Schatzl
05929860a5 Merge 2013-09-16 13:32:44 +02:00
Thomas Schatzl
3184042cd1 8024396: VM crashing with assert(!UseLargePages || UseParallelOldGC || use_large_pages) failed: Wrong alignment to use large pages
Loosen wrong assert for UseParallelOldGC to UseParallelGC

Reviewed-by: stefank, brutisso
2013-09-16 10:20:45 +02:00
Thomas Schatzl
b4e927d2a9 Merge 2013-09-16 09:41:03 +02:00
David Holmes
7b2ffab30e 8024505: [TESTBUG] update test groups for additional tests that can't run on the minimal VM
Reviewed-by: coleenp, hseigel
2013-09-13 21:36:27 -04:00
Zhengyu Gu
9e8f860fec Merge 2013-09-13 10:34:15 -04:00
Stefan Karlsson
860b5dcec7 8024650: Don't adjust MaxMetaspaceSize up to MetaspaceSize
Reviewed-by: jwilhelm, brutisso, tschatzl
2013-09-13 22:22:14 +02:00
Thomas Schatzl
962008f22b 8010722: assert: failed: heap size is too big for compressed oops
Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.

Reviewed-by: stefank, dholmes
2013-09-11 16:25:02 +02:00
Dmitry Samersoff
eaa4cfd4a7 8024056: runtime/InitialThreadOverflow/testme.sh fails
On some macines gcc not able to link cxx program

Reviewed-by: dholmes
2013-09-11 14:30:17 +04:00
Thomas Schatzl
87a98b7267 8021823: G1: Concurrent marking crashes with -XX:ObjectAlignmentInBytes>=32 in 64bit VMs
Correctly calculate the initialization value for the shift between object start and bitmap bit in the G1 mark bitmaps.

Reviewed-by: tonyp
2013-09-11 10:19:16 +02:00
Niclas Adlertz
19d50345e1 Merge 2013-09-09 19:53:28 +02:00
Igor Ignatyev
c73d393947 8012447: Java CTW implementation
Reviewed-by: vlivanov, kvn, twisti
2013-09-05 16:38:04 +04:00
Niclas Adlertz
a0a141a9d9 Merge 2013-09-05 10:39:10 +02:00
Rickard Bäckman
44a46005b8 Merge 2013-09-02 13:13:45 +02:00
Harold Seigel
a320f6a566 8023381: VM fails to initialize in runtime/CDSCompressedKPtrs/XShareAuto.java runtime/SharedArchiveFile/CdsSameObjectAlignment.java
Improve handling when CDS archive cannot be mapped

Reviewed-by: kvn, dholmes, mseledtsov
2013-09-01 10:37:01 -04:00
Daniel D. Daugherty
379674be8f Merge 2013-08-30 07:04:42 -07:00
Dmitry Samersoff
98c327bc7d 8009062: poor performance of JNI AttachCurrentThread after fix for 7017193
Don't re-evaluate stack bounds for main thread before install guard page

Reviewed-by: coleenp, dholmes, dlong
2013-08-29 21:48:23 +04:00
David Holmes
e5e78099db Merge 2013-08-29 00:22:13 -04:00
David Holmes
da2eb3d512 Merge 2013-08-28 21:42:14 -04:00
David Holmes
bdaf52c564 8023900: [TESTBUG] Initial compact profile test groups need adjusting
Reviewed-by: dcubed, mchung, hseigel
2013-08-28 19:25:18 -04:00
Jiangli Zhou
e66c07633c Merge 2013-08-28 12:01:04 -07:00
Bill Pittore
67ca3cb452 8023580: Add jtreg test for 8004051 and 8005722
Tests checks an assertion dealing with the number of args passed in registers

Reviewed-by: mseledtsov, kvn
2013-08-28 14:44:46 -04:00
David Holmes
e60f7b3406 8006164: [TESTBUG] compact profile hotspot test issues
Define profile-based test groups.

Reviewed-by: dcubed, mchung
2013-08-27 22:05:53 -04:00
Yumin Qi
137cb8d4ee Merge 2013-08-27 07:54:05 -07:00
Calvin Cheung
4415ae47cd 8020675: invalid jar file in the bootclasspath could lead to jvm fatal error
Removed offending EXCEPTION_MARK calls and code cleanup

Reviewed-by: dholmes, iklam, coleenp, mseledtsov
2013-08-26 14:11:26 -07:00
Aleksey Shipilev
9f4ed448a0 8023638: Add the regression test for 8006997
Add the relevant test and proofread the VM messages as well

Reviewed-by: coleenp, mseledtsov, dcubed
2013-08-26 17:42:03 +04:00
Vladimir Ivanov
4b7e40084c 8022595: JSR292: deadlock during class loading of MethodHandles, MethodHandleImpl & MethodHandleNatives
Reviewed-by: kvn, coleenp, dholmes
2013-08-26 17:41:05 +04:00
Chris Plummer
a8f6ab1f52 8020829: JT_HS: 2 runtime NMT tests fail on platforms if NMT detail is not supported
Make tests query a new WhiteBox API to see if NMT detail is supported, and behave properly if it is not supported.

Reviewed-by: dholmes, coleenp
2013-08-23 12:36:32 -07:00
Daniel D. Daugherty
3b29cc06ea Merge 2013-08-23 10:39:15 -07:00
Rickard Bäckman
4cb52fc49d Merge 2013-08-22 18:37:14 +02:00
Harold Seigel
2df9b70f5e 7121403: [TESTBUG] runtime/7051189/Xchecksig.sh fails on 64bit solaris
8023393: Need to suppress info message if -Xcheck:jni used with libjsig.dylab on Mac OSX

Rewrite 7051189 test in Java, port Linux fix for 7051189 to Mac OSX.

Reviewed-by: coleenp, dholmes, mseledtsov, ccheung
2013-08-22 11:52:27 -04:00
Vladimir Kozlov
dac98bcc0d 8023472: C2 optimization breaks with G1
Set control edge for previous value load in G1 pre-barrier

Reviewed-by: twisti
2013-08-23 18:04:35 -07:00
Kevin Walls
6d662d543e Merge 2013-08-19 22:28:52 -07:00
Kevin Walls
a40e2a9236 8022655: ClassDump ignored jarStream setting
Reviewed-by: minqi, sla
2013-08-19 14:28:58 +01:00
Daniel D. Daugherty
2c28ff340a Merge 2013-08-16 10:06:58 -07:00
Harold Seigel
4d91f4e69d 8003424: Enable Class Data Sharing for CompressedOops
8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops
8005933: The -Xshare:auto option is ignored for -server

Move klass metaspace above the heap and support CDS with compressed klass ptrs.

Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
2013-08-15 20:04:10 -04:00
Rickard Bäckman
8db7a08b50 Merge 2013-08-15 15:26:16 +02:00
Ron Durbin
9d372e7801 8005073: [TESTBUG] remove crufty '_g' support from HS tests
Remove crufty '_g' support from HS tests

Reviewed-by: dcubed, sla
2013-08-14 15:12:00 -07:00
Coleen Phillimore
a25f924de6 8009728: nsk/jvmti/AttachOnDemand/attach030 crashes on Win32
ActiveMethodOopsCache was used to keep track of old versions of some methods that are cached in Universe but is buggy with permgen removal and not needed anymore

Reviewed-by: sspitsyn, dcubed, mseledtsov
2013-08-12 17:24:54 -04:00
Erik Helin
30f059b5fc 8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Igor Ignatyev
ed4b026105 8019915: whitebox testClearMethodStateTest fails with tiered on sparc
'compileonly' directive has beens added to each 'compiler/whitebox' test

Reviewed-by: kvn
2013-08-10 10:01:12 +04:00
Daniel D. Daugherty
15aa5e3a57 Merge 2013-08-09 13:19:00 -07:00
Yumin Qi
418cc392cc 8019583: [TESTBUG] runtime/7107135 always passes
If java test return none zero, the value will be override by 'if' statement, the exit value will always '0' and pass. Fix by recording the result in a variable.

Reviewed-by: coleenp, dholmes, iklam
2013-08-08 15:19:12 -07:00
Rickard Bäckman
3a7c3cc018 Merge 2013-08-08 23:49:04 +02:00
Rickard Bäckman
9c2ac55d23 Merge 2013-08-19 09:33:29 +02:00
Igor Ignatyev
caa3d02130 8022832: Add WB APIs for OSR compilation
Reviewed-by: kvn
2013-08-14 23:50:23 +04:00
Igor Ignatyev
f9cf9e88b8 8016456: ciReplay test assumes TIERED compilation is available
Reviewed-by: vlivanov, kvn, dholmes
2013-08-16 17:34:37 +04:00
Erik Helin
3ea9481c2f 8014659: NPG: performance counters for compressed klass space
Reviewed-by: mgerdin, coleenp, hseigel, jmasa, ctornqvi
2013-08-07 16:47:32 +02:00
Christian Thalinger
7107241178 8022029: GetUnsafeObjectG1PreBarrier fails on 32-bit with: Unrecognized VM option 'ObjectAlignmentInBytes=32'
Reviewed-by: kvn
2013-08-05 15:03:40 -07:00
Harold Seigel
82c3d36026 Merge 2013-08-05 08:55:06 -07:00
Rickard Bäckman
ae3b577a0e Merge 2013-08-05 17:15:35 +02:00
Harold Seigel
1d5b67ee67 7073961: [TESTBUG] closed/runtime/4845371/DBB.java failed on solaris 10 X65
Added a x86 64-bit Solaris shared library and rewrote test in Java

Reviewed-by: dholmes, ctornqvi
2013-08-04 16:30:53 -04:00
Christian Tornqvist
d31cb702e1 Merge 2013-08-02 22:34:43 +02:00
Christian Tornqvist
cab1b96d23 8009585: test/runtime/7196045 times out
Test/runtime/7196045 times out

Reviewed-by: dholmes, mseledtsov
2013-08-02 18:12:10 +02:00
Daniel D. Daugherty
8119c54cae Merge 2013-08-02 08:32:05 -07:00
Tao Mao
6f445df42a Merge 2013-08-01 17:17:52 -07:00
Albert Noll
4ca00ef5a6 8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited
Removed part of the test that required the VM to start up with -XX:ReservedCodeCacheSize=2048m

Reviewed-by: kvn, rbackman
2013-08-01 16:01:32 -07:00
Christian Tornqvist
6596ca7512 8009407: runtime/8000968/Test8000968.sh has incorrect check for proper config
Runtime/8000968/Test8000968.sh has incorrect check for proper config

Reviewed-by: coleenp, mseledtsov, sspitsyn, hseigel
2013-08-01 22:25:11 +02:00
Mikhailo Seledtsov
fd111e0d53 8020614: OutputAnalyzer.shouldHaveExitValue() should print stdout/stderr output
OutputAnalyzer.shouldHaveExitValue() should print stdout/stderr output

Reviewed-by: kvn, ctornqvi, dholmes
2013-08-01 22:15:40 +02:00
Bengt Rutisson
a1e1caf8ba 8021879: G1: G1HeapRegionSize flag value not updated correctly
Reviewed-by: tschatzl, jmasa
2013-08-01 09:35:04 +02:00
Bengt Rutisson
5a10114616 8021967: Deprecate -XX:DefaultMaxRAMFraction
Reviewed-by: tschatzl, jmasa, kvn, tamao
2013-08-01 07:03:07 +02:00
Calvin Cheung
7e63c7bb0f 8021296: [TESTBUG] Test8017498.sh fails to find "gcc" and fails to compile on some Linux releases
Added checking for gcc and simplified the sig_handler() in the test case

Reviewed-by: dcubed, coleenp, minqi, dlong
2013-07-30 14:14:25 -07:00
Christian Thalinger
5555a381fb 8016474: Crash in sun.reflect.UnsafeObjectFieldAccessorImpl.get
C1's GetUnsafeObject G1 pre-barrier uses the wrong type to read the klass pointer.

Reviewed-by: iveresov, kvn
2013-07-29 16:32:38 -07:00
Tao Mao
5ce100bbd1 Merge 2013-07-26 13:34:22 -07:00
Morris Meyer
80b04bb48e Merge 2013-07-24 13:54:03 -07:00
Thomas Schatzl
93e5db7033 8020123: Test gc/g1/TestPrintRegionRememberedSetInfo.java fails with "test result: Error. No action after @build"
Remove the @build tag and replace it by a @run tag so that the test gets executed

Reviewed-by: brutisso, mgerdin
2013-07-24 10:07:37 +02:00
Calvin Cheung
3102612ca2 8020791: [TESTBUG] runtime/jsig/Test8017498.sh failed to compile native code
Added -DLINUX to the gcc command and improved the .sh script

Reviewed-by: dcubed, dholmes, minqi
2013-07-19 14:54:54 -07:00
Morris Meyer
30902b737d Merge 2013-07-19 13:59:25 -07:00
Daniel D. Daugherty
c421e7a0d3 Merge 2013-07-18 12:05:32 -07:00
Calvin Cheung
ef70244a9a 8017498: JVM crashes when native code calls sigaction(sig) where sig>=0x20
Added (sig < MAXSIGNUM) check in jsig.c

Reviewed-by: dholmes, acorn
2013-07-17 12:22:57 -07:00
David Katleman
6043666187 Merge 2013-07-16 15:15:43 -07:00
Vladimir Kozlov
665bf36b6f 8020433: Crash when using -XX:+RestoreMXCSROnJNICalls
Remove StubRoutines::x86::_mxcsr_std and use StubRoutines::_mxcsr_std

Reviewed-by: jrose
2013-07-15 10:28:32 -07:00
Morris Meyer
bb62cf25ed Merge 2013-07-15 06:27:46 -07:00
Vladimir Kozlov
1338c067aa 8007898: Incorrect optimization of Memory Barriers in Matcher::post_store_load_barrier()
Generate one "fat" membar instead of set of barriers for volitile store

Reviewed-by: roland
2013-07-12 14:03:10 -07:00
Vladimir Kozlov
2d3b117249 8020215: Different execution plan when using JIT vs interpreter
Fix bytecode analyzer

Reviewed-by: twisti
2013-07-12 14:01:37 -07:00
David Katleman
d939aea838 8020414: JDK8 b98 source with GPL header errors
Reviewed-by: darcy, lancea, iris
2013-07-11 14:07:26 -07:00
Roland Westrelin
d9ae342dff Merge 2013-07-11 01:11:52 -07:00