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
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
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
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
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
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
David Katleman
d939aea838
8020414: JDK8 b98 source with GPL header errors
...
Reviewed-by: darcy, lancea, iris
2013-07-11 14:07:26 -07:00
Frederic Parain
7f314c6d87
Merge
2013-07-05 08:09:40 -07:00
Daniel D. Daugherty
765f5cd4e7
8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
...
Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test
Reviewed-by: dsamersoff, zgu, hseigel, coleenp
2013-07-04 21:10:17 -07:00
Roland Westrelin
bc15de549e
Merge
2013-07-04 03:41:57 -07:00
Jiangli Zhou
bf2a400ca2
8006023: Embedded Builds fail management test because of requirement for UsePerfData being enabled
...
Added -XX:+UsePerfData to Test7196045.java.
Reviewed-by: dholmes, collins
2013-07-01 19:44:37 -04:00
Filipp Zhinkin
68c516f654
8006629: NEED_TEST: need test for JDK-8001071
...
Added regression test
Reviewed-by: kvn, coleenp
2013-07-01 12:22:34 -07:00
Mikhailo Seledtsov
e1219b994d
8015324: Create tests for CDS feature
...
Wrote tests for use of CDS with ObjectAlignmentInBytes CL option
Reviewed-by: coleenp, ctornqvi, hseigel
2013-06-13 22:00:06 +02:00
Christian Tornqvist
e72f763439
8016065: Write regression test for 7167142
...
Regression tests written for both test cases (.hotspotrc and .hotspot_compiler). Also reviewed by mikhailo.seledtsov@oracle.com
Reviewed-by: zgu, coleenp
2013-06-13 21:57:56 +02:00
Mikhailo Seledtsov
6a7e90e362
6726963: multi_allocate() call does not CHECK_NULL and causes crash in fastdebug bits
...
Using CHECK_NULL when calling multi_allocate() from the corresponding reflection code; added test for this condition
Reviewed-by: dholmes, minqi
2013-05-31 20:24:58 +02:00
Joel Borggren-Franck
6d51346158
8014709: Constructor.getAnnotatedReturnType() returns empty AnnotatedType
...
Reviewed-by: stefank, rbackman
2013-05-31 13:02:24 +02:00
Aleksey Shipilev
0793ab7e65
8015493: runtime/contended/OopMaps.java fails with OutOfMemory
...
Limit the memory footprint to dodge OutOfMemory errors.
Reviewed-by: dcubed, ctornqvi, iignatyev
2013-05-28 19:54:18 +04:00
Aleksey Shipilev
375e12feb9
8015270: @Contended: fix multiple issues in the layout code
...
Field count handling fixed, has_nonstatic_fields invariant fixed, oop map overrun fixed; new asserts
Reviewed-by: kvn, dcubed, coleenp
2013-05-27 12:49:08 -07:00
Christian Tornqvist
bd53fa8370
8009576: Test returns ClassNotFoundException
...
Small classpath fix and move tests into open
Reviewed-by: mgerdin, zgu
2013-05-23 17:39:32 +02:00
Mikael Vidstedt
de93893f4e
8013726: runtime/memory/ReserveMemory.java fails due to 'assert(bytes % os::vm_allocation_granularity() == 0) failed: reserve block size'
...
Fix regression test to work on all platforms
Reviewed-by: ctornqvi, dholmes
2013-05-21 09:43:23 -07:00
Aleksey Shipilev
7efa591bee
8014871: Move @Contended regression tests to the same place
...
Move the missing test to appropriate location.
Reviewed-by: dholmes, sla
2013-05-20 15:43:50 +04:00
Aleksey Shipilev
efe96b1343
8014509: @Contended: explicit default value behaves differently from the implicit value
...
Treat the empty string as the default value tag
Reviewed-by: kvn, twisti
2013-05-17 01:58:32 +04:00
Aleksey Shipilev
2fd72e202f
8012939: @Contended doesn't work correctly with inheritance
...
Fix instance_size miscalculation.
Reviewed-by: jrose, kvn
2013-05-17 01:43:48 +04:00
Mikhailo Seledtsov
bb4af57bdd
8014511: runtime/RedefineObject/TestRedefineObject.java has incorrect classname in @run tag
...
Corrected the class name
Reviewed-by: coleenp, ctornqvi, hseigel
2013-05-16 17:54:11 +02:00
Mikhailo Seledtsov
172cc0a06e
8008169: test/runtime/7158804/Test7158804.sh has bad copyright header
...
Re-wrote test in Java in addition to fixing the Copyright notice. Also reviewed by leonid.mesnik@oracle.com
Reviewed-by: coleenp, ctornqvi
2013-05-16 15:31:00 +02:00
Harold Seigel
3aa20631a9
8014138: Add VM option to facilitate the writing of CDS tests
...
Added the -XX:SharedArchiveFile option.
Reviewed-by: coleenp, ccheung, acorn, dcubed, zgu
2013-05-14 09:17:52 -04:00
Coleen Phillimore
7a409b13e0
8005056: NPG: Crash after redefining java.lang.Object
...
Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
2013-05-13 15:37:08 -04:00
Christian Tornqvist
601071bc6d
8009577: Test test/closed/runtime/classunload broken
...
Fixed tests to use new way of utilizing the WB API, fixed issue with where custom classloader got the classes from
Reviewed-by: collins, mgerdin, zgu
2013-05-07 21:36:59 +02:00
Zhengyu Gu
c2330eb6b1
8013120: NMT: Kitchensink crashes with assert(next_region == NULL || !next_region->is_committed_region()) failed: Sanity check
...
Fixed NMT to deal with releasing virtual memory region when there are still committed regions within it
Reviewed-by: acorn, coleenp
2013-05-06 11:15:13 -04:00
Bharadwaj Yadavalli
f631e3d253
8013418: assert(i == total_args_passed) in AdapterHandlerLibrary::get_adapter since 8-b87
...
Do not treat static methods as miranda methods.
Reviewed-by: dholmes, acorn
2013-05-01 08:07:59 -07:00
Mikael Vidstedt
9e8a3585b0
8012015: Use PROT_NONE when reserving memory
...
Reserved memory had PROT_READ+PROT_WRITE access on Linux/bsd, now changed to PROT_NONE.
Reviewed-by: dholmes, ctornqvi
2013-04-29 11:03:49 -07:00
Christian Tornqvist
c435269587
8009125: Add NMT tests for Virtual Memory operations
...
Tests added for Reserve/Commit/Uncommit/Unreserve operations
Reviewed-by: zgu, mgerdin
2013-04-03 21:41:33 +02:00
Leonid Mesnik
a4300aa98b
8009763: Add WB test for String.intern()
...
Add convenience method in StringTable, add WhiteBox method and simple sanity test
Reviewed-by: mgerdin, zgu
2013-04-02 11:28:33 +02:00
Daniel D. Daugherty
2484584e6d
Merge
2013-03-29 08:38:00 -07:00
Gary Collins
4970095c03
Merge
2013-03-28 15:42:11 -07:00
Gary Collins
c2a873f014
8009152: A number of jtreg tests need review/improvement
...
Added a new test_env.txt file to capture common shell variable. Added concept of COMPILEJAVA for use when TESTJAVA is a JRE. If COMPILEJAVA not set then TESTJAVA will be the default with assumption it is a JDK.
Reviewed-by: kvn, brutisso, coleenp
2013-03-27 09:49:51 -07:00
Harold Seigel
366b7e1c5e
8010833: Test7116786.java is failing on most configs after fix for 8010667
...
Update test to recognize that non-zero pad bytes for lookupswitch/tablewsitch opcodes are now valid.
Reviewed-by: dcubed, twisti, kvn, coleenp, dholmes
2013-03-27 11:41:51 -04:00
Bharadwaj Yadavalli
0e9d409036
8009552: test/vm/verifier/TestStaticIF.java failing with hs25.0-b
...
Remove support for verification of class files with version 52 and above from type inference verifier.
Reviewed-by: acorn, hseigel
2013-03-25 09:36:15 -07:00
Christian Tornqvist
c458eb3fd6
8008454: test/runtime/NMT/PrintNMTStatistics is broken
...
Added @run tag so that it actually runs the test, also fixed broken command line and incorrect parsing. Also reviewed by gerard.ziemski@oracle.com
Reviewed-by: mgerdin, zgu
2013-03-24 09:11:55 +01:00
Ioi Lam
ba67f14480
8010389: After fix for 7107135 a failed dlopen() call results in a VM crash
...
Call dlerror() in VM thread as necessary.
Reviewed-by: coleenp, dholmes
2013-03-21 20:46:46 -07:00
Christian Tornqvist
b7d738913e
8007982: some runtime/CommandLine/ tests fail on 32-bit platforms
...
Changed tests to use platform independent flags
Reviewed-by: collins, hseigel, zgu
2013-03-20 20:40:57 +01:00
Christian Tornqvist
3277de9dad
8010084: Race in runtime/NMT/BaselineWithParameter.java
...
Added a waitFor() on the process
Reviewed-by: mgerdin, sla, zgu
2013-03-20 08:17:55 +01:00
Ron Durbin
f4bcfd04ca
7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
...
7123945: runtime/6878713/Test6878713.sh require about 2G of native memory, swaps and times out
Add new diagnostic option -XX:MallocMaxTestWords=NNN and fix Test6878713.sh.
Reviewed-by: dcubed, coleenp, dholmes, iklam
2013-03-19 11:33:11 -07:00
Aleksey Shipilev
2f5e08742a
8008965: @Contended fails with classes having static fields
...
Disable @Contended support for static fields
Reviewed-by: coleenp, kvn
2013-03-11 14:00:09 -04:00
Ioi Lam
5116181e1f
7107135: Stack guard pages are no more protected after loading a shared library with executable stack
...
Detect the execstack attribute of the loaded library and attempt to fix the stack guard using Safepoint op.
Reviewed-by: dholmes, zgu
2013-03-05 13:55:56 -08:00
Mikael Gerdin
1d468be4b1
8006753: fix failed for JDK-8002415 White box testing API for HotSpot
...
Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue
Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
2013-02-19 18:45:49 +01:00
Bharadwaj Yadavalli
ff4bbcd501
8007736: VerifyError for static method in interface
...
Reviewed-by: dholmes, acorn
2013-02-14 14:33:35 -05:00
Coleen Phillimore
faea95b8d3
8007320: NPG: move method annotations
...
Allocate method annotations and attach to ConstMethod if present
Reviewed-by: dcubed, jiangli, sspitsyn, iklam
2013-02-11 14:06:22 -05:00
Christian Tornqvist
92053d4fb2
8007434: Write tests for 8006298
...
Four tests written for 8006298
Reviewed-by: mgerdin, coleenp
2013-02-08 10:42:24 +01:00
Coleen Phillimore
6101f88a80
Merge
2013-02-04 22:59:45 -08:00
Volker Simonis
37d83019d0
8007475: Memory stomp with UseMallocOnly
...
Fix off-by-one error
Reviewed-by: coleenp, hseigel
2013-02-04 13:14:12 -05:00
Harold Seigel
1831def9cc
8000968: NPG: UseCompressedKlassPointers asserts with ObjectAlignmentInBytes for > 32G CompressedOops
...
Pick a base that works for both CompressedOpps alignment and CompressedKlassPtrs alignment.
Reviewed-by: kvn, roland
2013-02-04 08:26:02 -05:00
Christian Tornqvist
898965f458
8000363: runtime/7158988/FieldMonitor.java fails with exception
...
Removed unnecessary shell script in the test.
Reviewed-by: coleenp, sla
2013-02-02 20:13:27 +01:00
Christian Tornqvist
8734c66d55
8005013: Add NMT tests
...
Add tests for the Native Memory Tracking feature, includes regression tests for 8005936 and 8004802
Reviewed-by: zgu, coleenp
2013-02-02 16:34:10 +01:00
David Katleman
5dc630b150
8004982: JDK8 source with GPL header errors
...
Reviewed-by: ohair
2012-12-20 16:24:51 -08:00
Stefan Karlsson
98abf6fb1c
8004199: Change the ASM package for Test8003720
...
Reviewed-by: kvn, jrose
2012-11-29 23:02:52 +01:00
Stefan Karlsson
3c2f3a321a
8003720: NPG: Method in interpreter stack frame can be deallocated
...
Pass down a closure during root scanning to keep the class of the method alive.
Reviewed-by: coleenp, jcoomes
2012-11-27 10:13:20 +01:00
Lana Steuck
69720b975c
Merge
2012-10-25 20:07:39 -07:00
Abhijit Saha
19fc2d4d88
Merge
2012-10-18 21:58:55 -07:00
Abhijit Saha
2f3ac59e81
Merge
2012-10-10 14:28:08 -07:00
David Holmes
363fac131c
7199186: runtime/7194254/Test7194254.java fails - wrong test name on @run
...
Reviewed-by: kvn, twisti
2012-10-04 19:52:09 -04:00
Kevin Walls
80d5f4b66d
7200145: runtime/7196045/Test7196045.java fails with No class provided for `main'
...
Reviewed-by: dholmes, dsamersoff
2012-09-30 23:24:12 +01:00