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
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
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
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
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
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
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
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
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
Karen Kinnear
b5f2f33aaa
8026066: ICCE for invokeinterface static
...
Reviewed-by: coleenp, lfoltan, hseigel
2013-12-03 08:36:15 -08: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
Mikael Gerdin
0a6481ef3a
Merge
2013-11-08 23:49:20 +00: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
930baab448
Merge
2013-11-05 14:06:23 -08:00
Lana Steuck
fdb505344e
Merge
2013-10-30 13:43:16 -07: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
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
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
Karen Kinnear
0e34fa065a
8026893: Push 8026365 to TL early and add test
...
Reviewed-by: dcubed, kamg
2013-10-19 18:32:34 -04: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
John Coomes
e61cbf8d69
Merge
2013-10-11 08:27:21 -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
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
Daniel D. Daugherty
156b06d897
Merge
2013-09-20 12:58:35 -07: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
9005953c71
Merge
2013-09-19 09:26:08 +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
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
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
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
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
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
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
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
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