1491 Commits

Author SHA1 Message Date
Harold Seigel
9ee5ab5124 8224952: RI deviates from JVMS - non-zero minor_version for class files throws UnsupportedClassVersionError
Change the JVM to follow the JVM Spec and accept non-zero minor_version for appropriate older class file versions.

Reviewed-by: acorn, dholmes, iignatyev
2019-06-10 09:52:04 -04:00
Vladimir Kozlov
12bb59fb63 8225350: compiler/jvmci/compilerToVM/IsCompilableTest.java timed out
Reviewed-by: iignatyev
2019-06-07 13:57:08 -07:00
Per Lidén
a6aa1030b4 8222145: Add -XX:SoftMaxHeapSize flag
Reviewed-by: eosterlund, tschatzl
2019-06-07 11:19:34 +02:00
Vladimir Ivanov
6346d77b03 8225106: C2: Parse::clinit_deopt asserts when holder klass is in error state
Reviewed-by: mdoerr
2019-06-06 13:46:01 +03:00
Daniel D. Daugherty
858b7e21d6 8188872: runtime/ErrorHandling/TimeoutInErrorHandlingTest.java fails intermittently
Reviewed-by: dholmes, stuefe
2019-06-05 14:07:14 -04:00
Ioi Lam
43e23020f2 8224692: runtime/appcds tests crash in "HotSpotJVMCI::compute_offset" when running in Graal as JIT mode
Reviewed-by: ccheung
2019-05-31 12:51:36 -07:00
Vladimir Ivanov
e72bfe15ad 8223213: Implement fast class initialization checks on x86-64
Reviewed-by: kvn, redestad, dholmes, mdoerr, coleenp
2019-05-30 13:39:13 +03:00
Calvin Cheung
421c364797 8224548: [TESTBUG] runtime/appcds/jvmti/ClassFileLoadHookTest.java failed: must be shared
Improve the -Xshare:auto case

Reviewed-by: iklam, coleenp
2019-05-28 09:40:49 -07:00
Coleen Phillimore
14ea8f5c59 8220688: [TESTBUG] runtime/NMT/MallocStressTest.java timed out
Reduce number of threads and iterate rather than sleep.

Reviewed-by: zgu, dholmes
2019-05-28 06:42:32 -04:00
Calvin Cheung
b582ed131a 8224264: [TESTBUG] HelloDynamicCustom.java test failed on the Windows platform in tiers 6 and 7 testing
Making use of the DynamicArchiveTestBase class so that mapping failure can be handled more robustly.

Reviewed-by: iklam
2019-05-23 10:05:02 -07:00
Thomas Stuefe
d1145fa663 8224034: [TESTBUG] runtime/ErrorHandlerTest/ErrorHandler fails intermittently for case 13 on Windows
Reviewed-by: dholmes
2019-05-21 18:22:54 +02:00
Coleen Phillimore
168e5cbf66 8224119: Safepoint cleanup logging logs times for things it doesn't do
Test condition before reporting times for cleanup actions.

Reviewed-by: rehn, hseigel
2019-05-21 09:53:16 -04:00
Calvin Cheung
72dc5721e0 8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Thomas Stuefe
7e9c683397 8221738: ErrorFile option does not handle pre-existing error files of the same name
Reviewed-by: coleenp, clanger
2019-04-07 09:13:17 +02:00
Claes Redestad
cc6cc06183 8221478: Disable VerifySharedSpaces by default
Reviewed-by: iklam, dholmes
2019-05-14 12:00:49 +02:00
David Holmes
796775c12a 8222292: runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest.java timeout but test passed
Reviewed-by: goetz, lfoltan, kvn
2019-05-09 18:42:07 -04:00
Harold Seigel
84c38b8f7f 8222500: runtime/8176717/TestInheritFD.java failed with java.nio.file.NoSuchFileException: /tmp/communication7071713601211876892.txt
Create the test's temporary files inside of jtreg scratch directories instead of /tmp

Reviewed-by: coleenp, lfoltan, dholmes
2019-05-03 07:54:09 -04:00
Coleen Phillimore
b3f4ca4563 8223194: runtime/Shutdown/ShutdownTest.java due to "OutOfMemoryError: Java heap too small"
Use default memory for the test.

Reviewed-by: dholmes, kvn
2019-05-01 20:48:19 -04:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Coleen Phillimore
6fb8502b77 8074355: make MutexLocker smarter about non-JavaThreads
Use safepoint_check_always/safepoint_check_never instead of safepoint_check_sometimes for locks that are taken by JavaThreads and non-JavaThreads

Reviewed-by: dholmes, rehn, dcubed, lmesnik
2019-05-01 08:56:38 -04:00
Serguei Spitsyn
e3aa6f7907 8222934: mark new VM option AllowRedefinitionToAddOrDeleteMethods as deprecated
Mark new option depricated

Reviewed-by: dcubed, coleenp, dholmes
2019-04-30 01:56:28 -07:00
Harold Seigel
ef40115621 8221685: -XX:BytecodeVerificationRemote and -XX:BytecodeVerificationLocal should be diagnostic options
Make the options diagnostic and add -XX:+UnlockDiagnosticVMOptions to tests where needed.

Reviewed-by: lfoltan, acorn, dholmes
2019-04-24 08:27:00 -04:00
Stefan Karlsson
b1ae2d0bf1 8222550: runtime/MemberName/MemberNameLeak.java times out
Reviewed-by: coleenp, dholmes
2019-04-17 07:41:12 +02:00
Stefan Karlsson
3e581f13a0 8222558: Rework ResolvedMethodTable verification
Reviewed-by: coleenp
2019-04-17 07:41:09 +02:00
Henry Jen
930f116ae7 Merge 2019-04-16 20:47:11 -07:00
Coleen Phillimore
f5cb284275 8220743: [TESTBUG] Review Runtime tests recently migrated from JDK subdirs
Removed tests that will not find bugs in current code base.

Reviewed-by: lfoltan, hseigel
2019-04-16 10:01:20 -04:00
Patrick Zhang
b9a4ede307 8222334: java -Xss0 triggers StackOverflowError
Launcher to use the stack size decided by hotpot or system if -Xss is 0

Reviewed-by: dholmes, alanb
2019-04-16 11:00:48 +00:00
Henry Jen
da6f620059 Merge 2019-04-15 18:24:37 -07:00
Mikhailo Seledtsov
66c817134f 8222299: [TESTBUG] move hotspot container tests to hotspot/containers
Moved the tests, updated relevant files

Reviewed-by: dholmes, iignatyev
2019-04-12 12:26:29 -07:00
Stefan Karlsson
23f02171c8 8221393: ResolvedMethodTable too small for StackWalking applications
Reviewed-by: coleenp, rehn
2019-04-10 15:41:04 +02:00
David Holmes
d7097cb0f4 8218458: [TESTBUG] runtime/NMT/CheckForProperDetailStackTrace.java fails with Expected stack trace missing from output
Reviewed-by: cjplummer, zgu
2019-04-08 17:30:18 -04:00
Aleksey Shipilev
208ecde943 8221918: runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java fails: Shared archive not found
Reviewed-by: jiangli, dholmes
2019-04-05 09:06:19 +02:00
Goetz Lindenmaier
39f3368ffd 8221470: Print methods in exception messages in java-like Syntax
Reviewed-by: dholmes, mdoerr, coleenp
2019-04-04 09:39:44 +02:00
Mikhailo Seledtsov
05b294ea97 8221710: [TESTBUG] more configurable parameters for docker testing
Introduced docker test config properties

Reviewed-by: lmesnik, iignatyev, egahlin
2019-04-04 12:29:43 -07:00
Henry Jen
52da980fa2 Merge 2019-03-26 10:55:17 -07:00
Jiangli Zhou
223e1c6e42 8220095: Assertion failure when symlink (with different name) is used for lib/modules file
Removed confusing function ClassLoader::is_modules_image(char*)

Reviewed-by: lfoltan, ccheung
2019-03-23 21:51:07 -07:00
David Holmes
87283a7568 8221180: Deprecate AllowJNIEnvProxy
Reviewed-by: coleenp, dcubed
2019-03-20 23:32:57 -04:00
Coleen Phillimore
3ed98222a7 8220744: Move RedefineTests to from runtime to serviceability
Move tests out of runtime to jvmti/RedefineClasses

Reviewed-by: sspitsyn, dcubed, cjplummer, hseigel, mseledtsov
2019-03-19 14:22:47 -04:00
Igor Ignatyev
8fb834a4bf 8219139: move hotspot tests from test/jdk/vm
Reviewed-by: dholmes, mseledtsov
2019-03-14 19:37:17 -07:00
Harold Seigel
cace9d1c8e 8219579: Remove redundant signature parsing from the verifier
Change verifier signature checking into asserts because ClassFileParser checks signatures for files being verified.

Reviewed-by: lfoltan, coleenp, redestad, dholmes
2019-03-14 09:38:17 -04:00
Henry Jen
833627bc3c Merge 2019-01-22 14:14:52 -08:00
David Holmes
8859f7ec1e 8217337: [TESTBUG] TestThreadDumpClassInitMonitor.java fails with Unexpected thread info line
Product build is missing two lines in the stacktrace

Reviewed-by: clanger, iignatyev
2019-01-18 18:21:50 -05:00
Mikhailo Seledtsov
f31d3d540e Merge 2019-03-08 11:09:39 -08:00
Mikhailo Seledtsov
08aa348b05 8220313: [TESTBUG] Update base image for Docker testing to OL 7.6
Updated the OL version in Dockerfile in FROM field

Reviewed-by: dcubed
2019-03-08 11:08:11 -08:00
Harold Seigel
871541b342 8220085: runtime/CompressedOops/UseCompressedOops.java times out on Windows intermittently
Increase the test's timeout to 480 and move it from tier1 to tier3.

Reviewed-by: lfoltan, mseledtsov
2019-03-08 08:19:16 -05:00
Martin Doerr
97ec4aeed2 8219584: Try to dump error file by thread which causes safepoint timeout
Reviewed-by: stuefe, dholmes, kvn
2019-03-08 11:23:30 +01:00
Mikhailo Seledtsov
6d12ffec19 8219997: [TESTBUG] Create test for JFR events in Docker container: CPU, Memory and Process Info
Start docker with limits on CPU/Mem, verify JFR reports correct data

Reviewed-by: egahlin
2019-03-07 13:20:04 -08:00
Robbin Ehn
9b70cef920 8220050: Deprecate -XX:-ThreadLocalHandshakes
Reviewed-by: dcubed, mdoerr
2019-03-07 10:32:55 +01:00
Coleen Phillimore
84a6e34fb0 8218266: G1 crash in AccessInternal::PostRuntimeDispatch
Protection_domains can be unloaded in the dictionary pd_set.

Reviewed-by: zgu, hseigel
2019-02-28 16:30:31 -05:00
Gerard Ziemski
d291437162 8219789: [TESTBUG] TestOptionsWithRanges.java produces hs_err_pidXXXXX.log file for VMThreadStackSize=9007199254740991
Excluded test of mac range for VMThreadStackSize

Reviewed-by: coleenp, mseledtsov
2019-02-28 10:55:07 -06:00