Calvin Cheung
b08a8c5cc3
8231606: _method_ordering is not set during CDS dynamic dump time
...
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.
Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Ralf Schmelter
98a2c05b5d
8191521: handle long relative path specified in -Xbootclasspath/a on windows
...
Reviewed-by: ccheung, clanger
2019-10-01 14:09:44 +02:00
Coleen Phillimore
98f454c9ca
8184732: Deadlock detection improvements for 'special' locks
...
Assert that special ranked locks cannot safepoint and allow_vm_block and remove locks from the exceptional lock list in no_safepoint_verifier.
Reviewed-by: dholmes, eosterlund
2019-09-30 13:10:11 -04:00
Alan Bateman
72e62cf835
8231413: Several test/hotspot/jtreg/runtime tests updates to run with --illegal-access=deny
...
Reviewed-by: hseigel, lfoltan, dholmes
2019-09-25 09:17:32 +01:00
Calvin Cheung
0da443e7ae
8231097: [TESTBUG] runtime/cds/appcds/DirClasspathTest.java can fail with a mapping error
...
Check output for mapping failure and throw a SkippedException.
Reviewed-by: iklam, dholmes
2019-09-24 20:16:13 -07:00
Ioi Lam
c85075b31a
8231367: [TESTBUG] ParallelLoadTest.java fails with "test.dynamic.dump not supported"
...
Reviewed-by: ccheung
2019-09-24 10:36:35 -07:00
Tobias Hartmann
6bc9833f65
8231058: VerifyOops crashes with assert(_offset >= 0) failed: offset for non comment?
...
Offset method should only be called for comments.
Reviewed-by: roland, dholmes
2019-09-23 14:30:31 +02:00
Ioi Lam
9c92ecba04
8231125: Improve testing of parallel loading of shared classes by the boot class loader
...
Reviewed-by: ccheung, coleenp, dholmes
2019-09-22 17:16:35 -07:00
Ioi Lam
988ac4fec0
8230586: Encapsulate fields in filemap.hpp
...
Reviewed-by: ccheung
2019-09-11 18:31:25 -07:00
Calvin Cheung
a1002d68fc
8230632: [TESTBUG] appcds/NonExistClasspath.java and ClassPathAttr.java failed when running in hotspot_appcds_dynamic test group
...
Exclude NonExistClasspath.java from the test group; increase timeout for ClassPathAttr.java.
Reviewed-by: dcubed, iklam
2019-09-05 11:12:12 -07:00
Jie Fu
c7f0ae07cd
8230376: [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
...
Reviewed-by: dholmes
2019-08-30 01:21:14 -04:00
Coleen Phillimore
e2287af876
8216977: ShowHiddenFrames use in java_lang_StackTraceElement::fill_in appears broken
...
Return NULL source file and negative line number for hidden frames.
Reviewed-by: dholmes, hseigel
2019-08-29 08:52:22 -04:00
Jie Fu
72d8e98a9d
8230228: [TESTBUG] Several runtime/ErrorHandling tests may fail on some platforms
...
Reviewed-by: coleenp, stuefe, mseledtsov
2019-08-28 08:47:40 +08:00
Ioi Lam
a2c067f6e8
8230294: runtime/cds/appcds/ClassPathAttr.java failed with jar operation failed
...
Reviewed-by: lfoltan
2019-08-28 07:41:57 -07:00
Ioi Lam
87eefe2e00
8227370: Remove SharedPathsMiscInfo
...
Reviewed-by: ccheung, jiangli
2019-08-27 22:14:52 -07:00
Adam Farley
ed45bde1a7
8227021: VM fails if any sun.boot.library.path paths are longer than JVM_MAXPATHLEN
...
The size of each path in sun.boot.library.path property should not exceed JVM_MAXPATHLEN
Reviewed-by: dholmes, coleenp, sspitsyn
2019-08-23 03:06:24 -07:00
Calvin Cheung
63baaf7a56
8226645: [TESTBUG] some AppCDS tests rely on illegal reflective access
...
Updated tests to use Lookup.defineClass instead of ClassLoader.defineClass.
Reviewed-by: iklam, dholmes, alanb
2019-08-15 16:23:41 -07:00
Daniel D. Daugherty
2207d884d5
8229212: clear up CHECK_OWNER confusion in objectMonitor.cpp
...
Reviewed-by: dholmes, coleenp
2019-08-13 16:13:22 -04:00
Ioi Lam
e9b271dd10
8229267: [TESTBUG] Remove unnecessary @modules dependencies in CDS tests
...
Reviewed-by: alanb, lfoltan
2019-08-09 13:13:36 -07:00
Rahul Raghavan
090734266c
8227439: Turn off AOT by default
...
Made UseAOT, AOTLibrary experimental and UseAOT false by default
Reviewed-by: iignatyev, kvn
2019-08-08 14:13:16 +05:30
Coleen Phillimore
7c0a5865fb
8228753: Deprecate -XX:FieldsAllocationStyle product option
...
8228749: Deprecate product flag -XX:CompactFields
Reviewed-by: kvn, shade
2019-08-06 07:43:18 -04:00
Patricio Chilano Mateo
3c80eb4f3c
8227528: TestAbortVMOnSafepointTimeout.java failed due to "RuntimeException: 'Safepoint sync time longer than' missing from stdout/stderr"
...
Biased locking was disable for this test.
Reviewed-by: dcubed, mdoerr, dholmes
2019-07-30 17:31:29 -04:00
Coleen Phillimore
1186d8203b
8227123: Assertion failure when setting SymbolTableSize larger than 2^17 (131,072)
...
Increase max size for SymbolTable and fix experimental option range. Fix option range test to include experimental options.
Reviewed-by: jiangli, dholmes, hseigel, gziemski
2019-07-30 09:56:18 -04:00
Mikael Vidstedt
895db11053
Merge
2019-07-29 09:59:04 -07:00
Martin Doerr
70fb85adc5
8227680: FastJNIAccessors: Check for JVMTI field access event requests at runtime
...
Check JvmtiExport::_field_access_count != 0 at runtime
Reviewed-by: dholmes, eosterlund, bulasevich
2019-07-29 18:22:55 +02:00
Coleen Phillimore
1ed3649f48
8202339: [TESTBUG] Consolidate the tests in runtime/SharedArchiveFile and runtime/appcds
...
Add top level cds directory and adjust test groups
Reviewed-by: mseledtsov, ccheung
2019-07-29 10:34:20 -04:00
Matthias Baesken
dde37610c0
8228650: runtime/SharedArchiveFile/CheckDefaultArchiveFile.java test fails on AIX
...
Reviewed-by: mseledtsov
2019-07-26 15:05:24 +02:00
Calvin Cheung
fc7aa2306c
8228407: JVM crashes with shared archive file mismatch
...
Stop processing other header fields if initial header check has failed.
Reviewed-by: dholmes, jiangli
2019-07-25 10:25:52 -07:00
Vladimir Ivanov
32eb2e45b6
8227260: JNI upcalls should bypass class initialization barrier in c2i adapter
...
Reviewed-by: eosterlund, dholmes, mdoerr
2019-07-24 10:50:40 +03:00
Coleen Phillimore
221da20713
8228485: JVM crashes when bootstrap method for condy triggers loading of class whose static initializer throws exception
...
Add case for JVM_CONSTANT_Dynamic in error_message function.
Reviewed-by: dholmes, shade
2019-07-24 10:22:11 -04:00
Mikael Vidstedt
f73a94a772
Merge
2019-07-23 11:17:59 -07:00
Vladimir Ivanov
242bd67c6c
8227260: JNI upcalls should bypass class initialization barrier in c2i adapter
...
Reviewed-by: eosterlund, dholmes, mdoerr, dpochepk
2019-07-19 16:25:04 +03:00
Coleen Phillimore
d35c1540e6
8227766: CheckUnhandledOops is broken in MemAllocator
...
Save oop created in handle more eagerly, so CheckUnhandledOops doesn't bash it.
Reviewed-by: lfoltan, eosterlund
2019-07-18 07:06:33 -04:00
Mikael Vidstedt
f08a9de3b2
Merge
2019-07-17 04:33:37 -07:00
Jiangli Zhou
24b025163b
8227582: runtime/TLS/testtls.sh fails on x86_32
...
Disable the negative test case for regular testing.
Reviewed-by: shade
2019-07-12 10:39:19 -07:00
Harold Seigel
5e24afc868
8226798: JVM crash in klassItable::initialize_itable_for_interface(int, InstanceKlass*, bool, Thread*)
...
When calculating vtable size at class load time, do not look for miranda method if matching package private method is found in a super class.
Reviewed-by: acorn, lfoltan
2019-07-11 09:26:04 -04:00
Calvin Cheung
a6b4e5c3d1
8226406: JVM fails to detect mismatched or corrupt CDS archive
...
Check important archive header fields such as _jvm_ident before processing other fields.
Reviewed-by: iklam, jiangli
2019-07-12 08:40:37 -07:00
Jeremy Manson
238c17bdb5
8225035: Thread stack size issue caused by large TLS size
...
Adjust thread stack size for static TLS on Linux when AdjustStackSizeForTLS is enabled.
Co-authored-by: Florian Weimer <fweimer@redhat.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: dholmes, fweimer, stuefe, rriggs, martin
2019-07-09 10:27:38 -07:00
Calvin Cheung
6f3bb94427
8227646: [TESTBUG] appcds/SharedArchiveConsistency timed out
...
Remove the FileChannel.force() calls.
Reviewed-by: dcubed, iklam
2019-07-17 08:34:45 -07:00
Harold Seigel
72bb0855ad
8226956: Add invocation tests for Graal and C1
...
Add new tests for these JIT's
Reviewed-by: lfoltan, coleenp
2019-07-02 13:20:27 -04:00
Calvin Cheung
5d1361df03
8211723: AppCDS: referring to a jar file in any way other than exactly how it was done during dumping doesn't work
...
Replaced os::file_name_strncmp() with os::same_files().
Reviewed-by: iklam, jiangli
2019-06-28 09:49:10 -07:00
Jesper Wilhelmsson
16548883ec
Merge
2019-06-26 22:16:00 +02:00
Harold Seigel
b6c6f3ce43
8224137: Analyze and port invocation tests to jtreg and co-locate to jdk repo
...
Add JTReg compatible main programs to run tests for various invoke* instructions
Reviewed-by: lfoltan, coleenp
2019-06-26 09:06:32 -04:00
Calvin Cheung
5c5126f5ee
8226462: [TESTBUG] runtime/appcds/sharedStrings/SysDictCrash.java failed with Cannot dump shared archive
...
Add a CDS log statement in arguments.cpp. The test catches RuntimeException duing dumping and checks if the log statement is in the stdout.
Reviewed-by: iklam, dholmes
2019-06-25 09:41:03 -07:00
Jamsheed Mohammed C M
aedbb75803
8191278: MappedByteBuffer bulk access memory failures are not handled gracefully
...
Unsafe.copy*Memory access failures are handled gracefully.
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Reviewed-by: kvn, dcubed, thartmann, coleenp, aph
2019-06-24 11:37:56 -07:00
Jesper Wilhelmsson
333c0c2453
Merge
2019-06-20 02:10:53 +02:00
Harold Seigel
b304a57980
8225789: Empty method parameter type should generate ClassFormatError
...
Check for an empty name when verifying unqualified names
Reviewed-by: lfoltan, coleenp
2019-06-19 08:42:15 -04:00
Joe Darcy
aeedfd44b0
8164819: Make javac's toString() on annotation objects consistent with core reflection
...
Reviewed-by: jjg, coleenp
2019-06-13 11:50:45 -07:00
Ekaterina Pavlova
9c5a2bf5af
8225622: [AOT] runtime/SharedArchiveFile/TestInterpreterMethodEntries.java crashed with AOTed java.base
...
Reviewed-by: kvn
2019-06-12 12:31:32 -07:00
Joe Darcy
4750064828
8214546: Start of release updates for JDK 14
...
8214547: Add SourceVersion.RELEASE_14
8214548: Add source 14 and target 14 to javac
8214549: Bump maximum recognized class file version to 58 for JDK 14
Reviewed-by: jjg, mikael, erikj, jlahoda, dholmes
2019-06-11 16:45:20 -07:00