Commit Graph

1494 Commits

Author SHA1 Message Date
Matthias Baesken
b6d70f2c49 8303973: Library detection in runtime/ErrorHandling/TestDwarf.java fails on ppc64le RHEL8.5 for libpthread-2.28.so
Reviewed-by: chagedorn
2023-03-14 08:08:28 +00:00
Matias Saavedra Silva
206661d45f 8281941: Change CDS warning messages to use Unified Logging
Reviewed-by: dholmes, ccheung
2023-03-10 17:11:48 +00:00
Matias Saavedra Silva
cd4b88d0d2 8292269: Replace FileMapInfo::fail_continue() with Unified Logging
Reviewed-by: iklam, dholmes, ccheung
2023-03-03 19:00:27 +00:00
Afshin Zafari
5085bd5f05 8297936: Use reachabilityFence to manage liveness in ClassUnload tests
Reviewed-by: coleenp, dholmes
2023-03-03 16:44:27 +00:00
Thomas Stuefe
c9afd55ed6 8302820: Remove costs for NMTPreInit when NMT is off
Reviewed-by: jsjolen, adinn
2023-03-02 13:21:25 +00:00
David Holmes
6e19387f29 8303070: Memory leak in DCmdArgument<char*>::parse_value
Reviewed-by: fparain, jcking, jsjolen, eosterlund, coleenp
2023-03-01 21:45:11 +00:00
David M. Lloyd
b527edd338 8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.

Reviewed-by: mchung
2023-02-27 17:18:44 +00:00
Matias Saavedra Silva
f5a12768fb 8262895: [macos_aarch64] runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
Reviewed-by: dholmes, coleenp
2023-02-27 15:53:33 +00:00
Patricio Chilano Mateo
83bea26df4 8300575: JVMTI support when using alternative virtual thread implementation
Reviewed-by: lmesnik, sspitsyn, alanb
2023-02-22 15:42:53 +00:00
Stefan Karlsson
fef1910277 8299777: Test runtime/NMT/BaselineWithParameter.java timed out
Reviewed-by: gziemski, iklam, dholmes
2023-02-21 10:58:36 +00:00
Thomas Stuefe
90e092280f 8293313: NMT: Rework MallocLimit
8293292: Remove MallocMaxTestWords

Reviewed-by: jsjolen, gziemski, lucy, mbaesken
2023-02-16 16:14:05 +00:00
Tobias Hartmann
c77f64420a 8302625: Bad copyright line after JDK-8302385
Reviewed-by: mikael
2023-02-16 07:31:55 +00:00
Thomas Stuefe
519229db3c 8302385: Remove MetaspaceReclaimPolicy=none
Reviewed-by: iklam, dholmes
2023-02-16 07:01:10 +00:00
Thomas Stuefe
9ccf8ad91f 8302129: Make MetaspaceReclaimPolicy a diagnostic switch
Reviewed-by: dholmes, coleenp
2023-02-15 06:36:16 +00:00
Ioi Lam
bdcbafb219 8296344: Remove dependency on G1 for writing the CDS archive heap
Reviewed-by: ayang, tschatzl, ccheung
2023-02-15 05:12:39 +00:00
Kim Barrett
f1d76fa925 8302262: Remove -XX:SuppressErrorAt develop option
Reviewed-by: stuefe, dholmes, tschatzl
2023-02-15 00:44:02 +00:00
Johan Sjölen
8c2c8b3f7f 8295344: Harden runtime/StackGuardPages/TestStackGuardPages.java
Reviewed-by: dholmes, rehn
2023-02-14 13:11:44 +00:00
Varada M
cb8107303e 8300139: [AIX] Use pthreads to avoid JNI_createVM call from primordial thread
Reviewed-by: dholmes, stuefe
2023-02-13 11:12:36 +00:00
Ramkumar Sunderbabu
723433dbeb 8302117: IgnoreUnrecognizedVMOptions flag causes failure in ArchiveHeapTestClass
Reviewed-by: dholmes
2023-02-10 05:58:12 +00:00
Calvin Cheung
53f72edcf6 8286510: Tests under dynamicArchive/methodHandles should check for loading of lambda proxy classes
Reviewed-by: iklam
2023-02-07 18:48:57 +00:00
Varada M
bccd55bfdf 8300295: [AIX] TestDaemonDestroy fails due to !is_primordial_thread assertion
Reviewed-by: dholmes, stuefe
2023-02-03 15:35:26 +00:00
David Holmes
d269ebbad2 8301570: Test runtime/jni/nativeStack/ needs to detach the native thread
Co-authored-by: Calvin Cheung <ccheung@openjdk.org>
Reviewed-by: lmesnik, ccheung
2023-02-01 07:56:21 +00:00
Xue-Lei Andrew Fan
e80b5ea448 8299635: Hotspot update for deprecated sprintf in Xcode 14
Reviewed-by: dholmes, mikael
2023-01-25 15:42:53 +00:00
Thomas Stuefe
2292ce137c 8294677: chunklevel::MAX_CHUNK_WORD_SIZE too small for some applications
Reviewed-by: simonis, phh
2023-01-24 06:35:26 +00:00
Matias Saavedra Silva
77f2d20e96 8287873: Add test for using -XX:+AutoCreateSharedArchive with different JDK versions
Reviewed-by: iklam
2023-01-20 00:55:28 +00:00
Alan Bateman
08e621829b 8300526: Test runtime/jni/IsVirtualThread/IsVirtualThread.java should exercise alternative virtual thread implementation
Reviewed-by: pchilanomate
2023-01-19 09:00:01 +00:00
Calvin Cheung
910dffea86 8292635: Run ArchivedEnumTest.java in jdk tier testing
Reviewed-by: iklam, dholmes
2023-01-19 00:20:13 +00:00
Axel Boldt-Christmas
c7056737e3 8299089: Instrument global jni handles with tag to make them distinguishable
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Leslie Zhai <lzhai@openjdk.org>
Reviewed-by: eosterlund, stefank, ayang
2023-01-18 09:21:08 +00:00
Afshin Zafari
289aed465e 8298128: runtime/ErrorHandling/TestSigInfoInHsErrFile.java fails to find pattern with slowdebug
Reviewed-by: dcubed, dholmes, stuefe
2023-01-16 12:36:45 +00:00
Matias Saavedra Silva
43847c43ad 8298065: Provide more information in message of NoSuchFieldError
Reviewed-by: dholmes, iklam, coleenp
2023-01-11 19:13:26 +00:00
Ashutosh Mehra
d6d6eb4cba 8299699: Test runtime/cds/appcds/WrongClasspath.java fails after JDK-8299329
Reviewed-by: iklam, ccheung
2023-01-06 19:56:12 +00:00
Ashutosh Mehra
be64bf8cf0 8299329: Assertion failure with fastdebug build when trying to use CDS without classpath
Reviewed-by: iklam, ccheung
2023-01-05 16:09:28 +00:00
Jesper Wilhelmsson
df1caf9081 Merge 2023-01-04 16:03:09 +00:00
Kim Barrett
b743519ba9 8293824: gc/whitebox/TestConcMarkCycleWB.java failed "RuntimeException: assertTrue: expected true, was false"
Reviewed-by: iwalulya, tschatzl
2023-01-04 03:28:31 +00:00
David Holmes
375743336d 8295974: jni_FatalError and Xcheck:jni warnings should print the native stack when there are no Java frames
Reviewed-by: coleenp, rehn, sspitsyn
2023-01-03 04:22:51 +00:00
Matthias Baesken
6f85a9c9a8 8299387: CompressedClassPointers.java still fails on ppc with 'Narrow klass shift: 0' missing
Reviewed-by: mdoerr
2022-12-28 14:22:43 +00:00
Matias Saavedra Silva
65442a2e26 8269736: Optimize CDS PatchEmbeddedPointers::do_bit()
Reviewed-by: ccheung, iklam
2022-12-21 15:33:24 +00:00
Jesper Wilhelmsson
386db07143 Merge 2022-12-20 20:20:17 +00:00
Coleen Phillimore
03afec16f8 8298162: Test PrintClasses hits assert when run with code that retransform classes
Reviewed-by: dholmes, mgronlun
2022-12-20 14:09:22 +00:00
David Holmes
a3364612f7 8298081: DiagnoseSyncOnValueBasedClasses doesn't report useful information for virtual threads
Reviewed-by: gziemski, pchilanomate
2022-12-16 01:08:30 +00:00
Matias Saavedra Silva
d1085d1be7 8281946: VM.native_memory should report size of shareable memory
Reviewed-by: stuefe, iklam
2022-12-15 05:03:57 +00:00
David Holmes
829cbc2cb1 8292674: ReportJNIFatalError should print all java frames
Reviewed-by: pchilanomate
2022-12-13 00:04:38 +00:00
Joe Darcy
175e3d3ff3 8296149: Start of release updates for JDK 21
8296150: Add SourceVersion.RELEASE_21
8296151: Add source 21 and target 21 to javac

Reviewed-by: dholmes, iris, erikj, vromero, jlahoda
2022-12-08 16:04:00 +00:00
Thomas Schatzl
a9e6c62ba7 8297186: G1 triggers unnecessary full GCs when heap utilization is low
Reviewed-by: kbarrett, sjohanss
2022-12-06 10:09:59 +00:00
Maurizio Cimadamore
73baadceb6 8295044: Implementation of Foreign Function and Memory API (Second Preview)
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Afshin Zafari
bd381886e0 8297766: Remove UseMallocOnly development option
Reviewed-by: coleenp, stuefe, dholmes
2022-12-05 13:31:15 +00:00
Thomas Stuefe
3b3bbe5487 8296907: VMError: add optional callstacks, siginfo for secondary errors
Reviewed-by: aboldtch, rschmelter
2022-12-05 07:10:31 +00:00
Ioi Lam
391599bc9d 8297313: Refactor APIs for calculating address of CDS archive heap regions
Reviewed-by: matsaave, ccheung
2022-12-01 19:59:14 +00:00
Stefan Johansson
eea1a8a95e 8297427: Avoid keeping class loaders alive when executing ClassLoaderStatsVMOperation
Reviewed-by: eosterlund, stefank
2022-12-01 10:30:14 +00:00
Albert Mingkun Yang
a97e7d9887 8297740: runtime/ClassUnload/UnloadTest.java failed with "Test failed: should still be live"
Reviewed-by: dcubed
2022-11-30 13:01:34 +00:00
David Holmes
692bedbc1d 8297106: Remove the -Xcheck:jni local reference capacity checking
Reviewed-by: dcubed, kevinw
2022-11-29 02:03:49 +00:00
Matias Saavedra Silva
a249a52501 8296754: AutoCreateSharedArchive in JDK 20 is not compatible with JDK 19
Reviewed-by: ccheung, iklam, erikj
2022-11-28 15:26:27 +00:00
Albert Mingkun Yang
6a856bc3f6 8297499: Parallel: Missing iteration over klass when marking objArrays/objArrayOops during Full GC
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Reviewed-by: sjohanss, tschatzl
2022-11-28 11:57:18 +00:00
Thomas Stuefe
d6102110e1 8297408: Consolidate code in runtime/ErrorHandling
Reviewed-by: dholmes, mbaesken
2022-11-28 07:31:18 +00:00
Thomas Stuefe
a768fed779 8297184: Test runtime/ErrorHandling/TestSigInfoInHsErrFile.java is failing
Reviewed-by: dcubed, coleenp
2022-11-17 16:40:32 +00:00
Magnus Ihse Bursie
4527dc67be 8297041: Remove the last remnants of sjavac
Reviewed-by: cstein, erikj, jjg
2022-11-17 09:20:22 +00:00
Thomas Stuefe
b9d6e83e9b 8296906: VMError::controlled_crash crashes with wrong code and address
Reviewed-by: dholmes, mbaesken
2022-11-17 07:08:14 +00:00
Calvin Cheung
3eb6d0e2f8 8291991: Adjust the "shared class paths mismatch" message if class path logging is enabled
Reviewed-by: iklam, matsaave
2022-11-16 15:47:32 +00:00
Coleen Phillimore
76790ad242 8295673: Deprecate and disable legacy parallel class loading workaround for non-parallel-capable class loaders
Reviewed-by: mchung, dholmes
2022-11-07 23:31:21 +00:00
Dean Long
37107fc157 8296007: crash in runtime/DefineClass/NullClassBytesTest.java
Reviewed-by: dcubed, dholmes
2022-11-01 00:46:24 +00:00
Coleen Phillimore
a8450b37ee 8295713: runtime/ParallelLoad/SuperWait/SuperWaitTest.java fails intermittently on Windows
Reviewed-by: pchilanomate, dholmes
2022-10-26 17:28:44 +00:00
Calvin Cheung
427f50624f 8279366: CDS should allow alternative locations for JAR files in classpath
Reviewed-by: iklam, coleenp
2022-10-25 17:52:18 +00:00
Matias Saavedra Silva
fefbddf835 8291443: Obsolete the PrintSharedDictionary flag
Reviewed-by: dholmes, iklam
2022-10-24 16:08:51 +00:00
Magnus Ihse Bursie
d5a1521fde 8295470: Update openjdk.java.net => openjdk.org URLs in test code
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Ioi Lam
3f4964f83d 8293291: Simplify relocation of native pointers in archive heap
Reviewed-by: ccheung, coleenp
2022-10-19 04:57:56 +00:00
Coleen Phillimore
5d273b9f04 8295278: Add parallel class loading tests
Reviewed-by: vlivanov, ccheung
2022-10-17 12:31:39 +00:00
Vladimir Ivanov
8487c56f7e 8295294: Misc cleanups in runtime/InvocationTests
Reviewed-by: dholmes
2022-10-14 17:46:11 +00:00
Ioi Lam
90fb9a085b 8295102: Always load @lambda-form-invoker lines from default classlist
Reviewed-by: redestad, ccheung
2022-10-13 00:01:06 +00:00
Matias Saavedra Silva
3466e99934 8294691: dynamicArchive/RelativePath.java is running other test case
Reviewed-by: iklam, ccheung
2022-10-07 20:44:35 +00:00
Matias Saavedra Silva
f888aa953c 8293061: Combine CDSOptions and AppCDSOptions test utility classes
Reviewed-by: dholmes, iklam, ccheung
2022-10-06 15:03:24 +00:00
Aleksey Shipilev
e38ae8a651 8294759: Print actual lock/monitor ranking
Reviewed-by: coleenp, dholmes
2022-10-06 07:57:54 +00:00
Leonid Mesnik
2dbedf0e93 8294406: Test runtime/handshake/HandshakeDirectTest.java failed: JVMTI_ERROR_WRONG_PHASE
Reviewed-by: dholmes, sspitsyn
2022-10-04 12:57:55 +00:00
David Holmes
e5b65c40ea 8290482: Update JNI Specification of DestroyJavaVM for better alignment with JLS, JVMS, and Java SE API Specifications
Reviewed-by: rehn, coleenp
2022-09-27 23:57:32 +00:00
Gerard Ziemski
739fdec7ea 8289162: runtime/NMT/ThreadedMallocTestType.java should print out memory allocations to help debug
Reviewed-by: hseigel, coleenp
2022-09-27 16:27:32 +00:00
Aleksey Shipilev
36b61c5d7e 8293872: Make runtime/Thread/ThreadCountLimit.java more robust
Reviewed-by: dholmes, adinn
2022-09-26 12:44:04 +00:00
Leonid Mesnik
543851db92 8289607: Change hotspot/jtreg tests to not use Thread.suspend/resume
Reviewed-by: sspitsyn, cjplummer
2022-09-23 17:44:57 +00:00
Jie Fu
8351b30e00 8293771: runtime/handshake/SystemMembarHandshakeTransitionTest.java fails if MEMBARRIER_CMD_QUERY is unsupported
Reviewed-by: rehn
2022-09-14 07:54:32 +00:00
Robbin Ehn
1e1db5debd 8292591: Experimentally add back barrier-less Java thread transitions
Reviewed-by: mdoerr, eosterlund, pchilanomate, dcubed
2022-09-13 08:31:45 +00:00
Man Cao
45ff10cc68 8292695: SIGQUIT and jcmd attaching mechanism does not work with signal chaining library
Reviewed-by: xliu, stuefe
2022-09-09 19:12:08 +00:00
Ioi Lam
f84386cf6e 8293182: Improve testing of CDS archive heap
Reviewed-by: ccheung, coleenp
2022-09-07 23:02:35 +00:00
Coleen Phillimore
5934669ca8 8292383: Create a SymbolHandle type to use for ResourceHashtable
Reviewed-by: iklam, hseigel
2022-09-07 14:50:58 +00:00
Joe Darcy
2d18dda3f2 8173605: Remove support for source and target 1.7 option in javac
Reviewed-by: vromero
2022-09-01 16:43:50 +00:00
Aleksey Shipilev
5204528296 8293201: Library detection in runtime/ErrorHandling/TestDwarf.java fails on some systems
Reviewed-by: chagedorn
2022-09-01 14:13:51 +00:00
Coleen Phillimore
e353b572a5 8292890: Remove PrintTouchedMethodsAtExit and LogTouchedMethods
Reviewed-by: iklam, hseigel
2022-08-25 21:12:35 +00:00
Coleen Phillimore
4f50316a1a 8292680: Convert Dictionary to ConcurrentHashTable
Reviewed-by: rehn, hseigel
2022-08-25 19:02:52 +00:00
Coleen Phillimore
b653b9cc27 8291969: Convert LoaderConstraintsTable to ResourceHashtable
Reviewed-by: dholmes, iklam
2022-08-24 11:39:25 +00:00
Thomas Stuefe
fa5cc4cc8e 8291878: NMT: Malloc limits
Reviewed-by: kvn, shade
2022-08-24 07:58:54 +00:00
Christian Hagedorn
13c0369646 8242181: [Linux] Show source information when printing native stack traces in hs_err files
Reviewed-by: erikj, tschatzl, stuefe, ihse
2022-08-24 06:44:06 +00:00
Ioi Lam
27b0f7726b 8292318: Memory corruption in remove_dumptime_info
Reviewed-by: coleenp, ccheung
2022-08-22 03:43:27 +00:00
Ioi Lam
57aac2ab65 8290981: Enable CDS for zero builds
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: erikj, shade, ihse
2022-08-19 19:16:33 +00:00
Harold Seigel
37aa7c165d 8292559: Add test for -XX:+CheckJNICalls showing changed signal handlers
Reviewed-by: stuefe, coleenp
2022-08-19 12:19:35 +00:00
Christian Stein
82dbe29fc8 8292633: runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java fails to compile
Reviewed-by: dcubed, dholmes
2022-08-18 23:29:39 +00:00
Christian Stein
62a7fc60d3 8292315: Tests should not rely on specific JAR file names (hotspot)
Reviewed-by: vromero
2022-08-18 17:26:14 +00:00
Harold Seigel
0d96546ab9 8292054: Test runtime/posixSig/TestPosixSig.java fails with 'Test failed, bad output.'
Reviewed-by: coleenp, stuefe
2022-08-17 19:56:14 +00:00
Joe Darcy
e44e3f0c19 8289106: Add model of class file versions to core reflection
Reviewed-by: rriggs
2022-08-16 18:43:58 +00:00
Calvin Cheung
c3d3662e52 8292313: 2 runtime/cds/appcds tests fail after JDK-8284313
Reviewed-by: hseigel, iklam
2022-08-16 16:26:59 +00:00
Calvin Cheung
22d6d315f2 8284313: Improve warning messages when CDS archive fails to load
Reviewed-by: iklam, dholmes
2022-08-12 16:39:55 +00:00
David Holmes
6eb7c3ad0e 8290732: JNI DestroyJavaVM can start shutdown when one non-daemon thread remains
Reviewed-by: stuefe, rehn
2022-08-12 06:41:22 +00:00
Coleen Phillimore
b47438cabc 8292068: Convert ModuleEntryTable into ResourceHashtable
Reviewed-by: iklam, lfoltan
2022-08-10 22:04:33 +00:00
Joe Darcy
ae1a9a0b25 8292060: Make ClassFileVersionTest.java version adapting
Reviewed-by: hseigel
2022-08-09 17:55:18 +00:00
Harold Seigel
8d88be233b 8291459: JVM crash with GenerateOopMap::error_work(char const*, __va_list_tag*)
Reviewed-by: dholmes, coleenp
2022-08-08 12:19:15 +00:00
Harold Seigel
a3040fcc2b 8291360: Create entry points to expose low-level class file information
Reviewed-by: dholmes, rriggs
2022-08-04 13:13:01 +00:00
Harold Seigel
48b77a6969 8285792: Posix signal handler modification checking issues.
Reviewed-by: dholmes, erikj
2022-07-27 12:22:55 +00:00
Ioi Lam
66f59c2c16 8290731: Clean up CDS handling of LambdaForm Species classes
Reviewed-by: ccheung
2022-07-21 21:32:30 +00:00
Thomas Schatzl
984cd02dfb 8290707: runtime/cds/appcds/dynamicArchive/DynamicLambdaWithUseImplMethodHandle.java fails with "Can't find sun.hotspot.whitebox"
Reviewed-by: dholmes
2022-07-20 12:34:55 +00:00
Jesper Wilhelmsson
a3e07d950a Merge 2022-07-20 07:39:01 +00:00
Coleen Phillimore
96a542feb2 8227060: Optimize safepoint cleanup subtask order
Reviewed-by: kbarrett, pchilanomate
2022-07-19 16:32:07 +00:00
Ioi Lam
4dc421caa0 8290417: CDS cannot archive lamda proxy with useImplMethodHandle
Reviewed-by: dholmes, ccheung, mchung
2022-07-19 04:37:28 +00:00
Leonid Mesnik
5a96a5db13 8289612: Change hotspot/jtreg tests to not use Thread.stop
Reviewed-by: dholmes, dcubed
2022-07-18 21:53:41 +00:00
Coleen Phillimore
0c1aa2bc8a 8289184: runtime/ClassUnload/DictionaryDependsTest.java failed with "Test failed: should be unloaded"
Reviewed-by: lmesnik, hseigel
2022-07-11 15:34:17 +00:00
Coleen Phillimore
0c37008917 8275662: remove test/lib/sun/hotspot
Reviewed-by: mseledtsov, sspitsyn, lmesnik
2022-07-11 13:07:03 +00:00
Coleen Phillimore
e7795851d2 8271707: migrate tests to use jdk.test.whitebox.WhiteBox
Reviewed-by: lmesnik, dholmes
2022-07-08 15:55:14 +00:00
Robbin Ehn
ac399e9777 8286957: Held monitor count
Reviewed-by: rpressler, eosterlund
2022-07-08 07:12:19 +00:00
Coleen Phillimore
f93beacd2f 8252329: runtime/LoadClass/TestResize.java timed out
Reviewed-by: hseigel, iklam
2022-07-07 20:27:31 +00:00
Justin Gu
86f63f9703 8289164: Convert ResolutionErrorTable to use ResourceHashtable
Reviewed-by: iklam, coleenp
2022-07-07 14:57:24 +00:00
Calvin Cheung
c43bdf7165 8289257: Some custom loader tests failed due to symbol refcount not decremented
Reviewed-by: iklam, coleenp
2022-07-01 16:11:17 +00:00
Thomas Stuefe
b96ba19807 8289182: NMT: MemTracker::baseline should return void
Reviewed-by: dholmes, zgu
2022-06-29 04:12:46 +00:00
KIRIYAMA Takuya
910053b74e 8280235: Deprecated flag FlightRecorder missing from VMDeprecatedOptions test
Reviewed-by: dholmes, mgronlun
2022-06-28 23:37:23 +00:00
Calvin Cheung
e322e77e95 8288651: CDS test HelloUnload.java should not use literal string as ClassLoader name
Reviewed-by: coleenp, iklam
2022-06-27 21:16:02 +00:00
Jesper Wilhelmsson
d4b040f42d Merge 2022-06-27 18:25:53 +00:00
Harold Seigel
925084c496 8288976: classfile parser 'wrong name' error message has the names the wrong way around
Reviewed-by: dholmes, shade
2022-06-24 12:03:09 +00:00
Xin Liu
82c77ca807 8288926: make runtime/logging/DeoptStats.java more reliable
Reviewed-by: simonis, phh
2022-06-22 15:57:48 +00:00
Jesper Wilhelmsson
2bf5c9a687 Merge 2022-06-21 22:26:26 +00:00
Daniel D. Daugherty
31d981e5ea 8288532: additional review changes for JDK-8286830
Reviewed-by: pchilanomate, dholmes
2022-06-21 16:36:51 +00:00
Coleen Phillimore
cf4a4966a8 8288064: Class initialization locking
Reviewed-by: rehn, vlivanov
2022-06-16 12:38:06 +00:00
Jie Fu
4aede33fbf 8288282: Zero-release build is broken after JDK-8279047 due to UseHeavyMonitors is read-only
Reviewed-by: dholmes, shade
2022-06-13 14:36:57 +00:00
Jie Fu
5d0e8b6981 8288203: runtime/ClassUnload/UnloadTestWithVerifyDuringGC.java fails with release VMs
Reviewed-by: shade
2022-06-10 11:40:25 +00:00
Thomas Schatzl
94b473e464 8280454: G1: ClassLoaderData verification keeps CLDs live that causes problems with VerifyDuringGC during Remark
Reviewed-by: stefank, coleenp
2022-06-10 07:57:32 +00:00
Joe Darcy
edff51e5fd 8284858: Start of release updates for JDK 20
8286035: Add source 20 and target 20 to javac
8286034: Add SourceVersion.RELEASE_20

Reviewed-by: dholmes, kcr, iris, erikj, jjg, ihse
2022-06-09 16:16:49 +00:00
Ioi Lam
68c5957b9e 8287869: -XX:+AutoCreateSharedArchive doesn't work when JDK build is switched
Reviewed-by: ccheung, dholmes
2022-06-07 23:11:33 +00:00
Calvin Cheung
124ba45fb8 8287101: CDS should check for file truncation for all regions
Reviewed-by: iklam, coleenp
2022-06-06 21:56:01 +00:00
KIRIYAMA Takuya
c328f8fa2a 8287764: runtime/cds/serviceability/ReplaceCriticalClasses failed on localized Windows
Reviewed-by: iklam
2022-06-06 21:08:53 +00:00
Patricio Chilano Mateo
5acac2238f 8286830: ~HandshakeState should not touch oops
Reviewed-by: dholmes, rehn
2022-06-02 13:32:25 +00:00
Alan Bateman
6ff2d89ea1 8287496: Alternative virtual thread implementation that maps to OS thread
Reviewed-by: rehn, mchung
2022-06-02 09:02:37 +00:00
Ichiroh Takiguchi
66340372d5 8287362: FieldAccessWatch testcase failed on AIX platform
Reviewed-by: cjplummer, mdoerr
2022-05-28 05:33:08 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Ioi Lam
646c8aaeec 8286277: CDS VerifyError when calling clone() on object array
Reviewed-by: dholmes, ccheung
2022-05-23 16:23:12 +00:00
Calvin Cheung
087bccfe28 8286978: SIGBUS in libz during CDS initialization
Reviewed-by: iklam
2022-05-20 17:51:47 +00:00
Doug Simon
af24d2d1d6 8286771: workaround implemented for JDK-8282607 is incomplete
Reviewed-by: dholmes
2022-05-14 15:28:53 +00:00
Doug Simon
1c50ea36a5 8282607: runtime/ErrorHandling/MachCodeFramesInErrorFile.java failed with "RuntimeException: 0 < 2"
Reviewed-by: dholmes, coleenp
2022-05-11 20:08:15 +00:00
Coleen Phillimore
cec23b1b07 8286556: Remove EagerInitialization develop option
Reviewed-by: rehn, redestad
2022-05-11 16:19:49 +00:00
Calvin Cheung
070a0cda31 8286551: JDK-8286460 causes tests to fail to compile in Tier2
Reviewed-by: dcubed
2022-05-10 20:20:37 +00:00
Christian Stein
52dbfa99fe 8286460: Remove dependence on JAR filename in CDS tests
Reviewed-by: ccheung, iklam
2022-05-10 18:13:41 +00:00
Calvin Cheung
29ccb8fbb8 8285914: AppCDS crash when using shared archive with old class file
Reviewed-by: dholmes, iklam
2022-05-09 16:00:57 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Tobias Holenstein
dd06cc638e 8283807: Handle CompileThreshold the same as other thresholds when scaled with -XX:CompileThresholdScaling
Reviewed-by: kvn, iklam, thartmann
2022-05-06 07:08:19 +00:00
Jie Fu
7ebc4bce93 8286066: assert(k != __null) failed: klass not loaded caused by FillerObject_klass
Reviewed-by: dholmes, tschatzl, iklam
2022-05-05 23:16:42 +00:00
Vikey Chen
7d545084f4 8283606: Tests may fail with zh locale on MacOS
Reviewed-by: iklam, rriggs
2022-05-05 00:06:24 +00:00
Coleen Phillimore
be67acdf5c 8285832: runtime/Thread/TooSmallStackSize.java failed "assert(k->is_initialized()) failed: need to increase java_thread_min_stack_allowed calculation"
Reviewed-by: dholmes, fparain, iklam
2022-05-03 17:43:12 +00:00
Daniel D. Daugherty
41de506ed6 8285507: revert fix for JDK-8282704 now that JDK-8282952 is fixed
Reviewed-by: dholmes, pchilanomate
2022-05-02 15:39:06 +00:00
Daniel D. Daugherty
4a79270c01 8284632: runtime/Thread/StopAtExit.java possibly leaking memory again
Reviewed-by: pchilanomate, rehn
2022-05-02 15:23:03 +00:00
Jie Fu
c4f7a850c6 8285828: runtime/execstack/TestCheckJDK.java fails with zipped debug symbols
Reviewed-by: dholmes, stuefe
2022-04-29 08:50:06 +00:00
Tyler Steele
97a0a292a6 8283643: [AIX, testbug] MachCodeFramesInErrorFile test fails to find 'Native frames' text
Reviewed-by: dnsimon, dholmes
2022-04-26 15:26:21 +00:00
Calvin Cheung
9b8270895e 8284319: Test runtime/cds/appcds/TestParallelGCWithCDS.java fails in repo-loom
Reviewed-by: iklam
2022-04-25 20:50:56 +00:00
Calvin Cheung
1e79ded98a 8284889: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java#custom-cl-zgc timed out
Reviewed-by: iklam
2022-04-25 16:54:44 +00:00
Calvin Cheung
73f3e17ea7 8213445: jcmd VM.symboltable and VM.stringtable -verbose output contains no shared symbols or strings
Reviewed-by: iklam, dholmes
2022-04-21 15:40:29 +00:00
Tobias Holenstein
46b2e547a9 8075816: Deprecate AliasLevel flag since it is broken
Reviewed-by: thartmann, kvn
2022-04-20 09:41:53 +00:00
Andrey Turbanov
48c7549806 8284853: Fix various 'expected' typo
Reviewed-by: bpb, ihse
2022-04-14 18:05:49 +00:00
Coleen Phillimore
e245f9d200 8284274: Error reporting crashes because missing ResourceMarks
Reviewed-by: dholmes, stuefe
2022-04-13 14:46:27 +00:00
Leonid Mesnik
a8c8752602 8284556: Ensure reachability of classes in runtime/whitebox/TestHiddenClassIsAlive.java and serviceability/dcmd/vm/ClassLoaderHierarchyTest.java
Reviewed-by: cjplummer
2022-04-08 19:24:55 +00:00
Patricio Chilano Mateo
8e4fab0c89 8284303: runtime/Thread/AsyncExceptionTest.java timed out
Reviewed-by: dcubed, kvn
2022-04-06 16:47:55 +00:00
Patricio Chilano Mateo
4e20a03786 8283044: Use asynchronous handshakes to deliver asynchronous exceptions
Reviewed-by: dcubed, dholmes, rehn
2022-04-04 14:00:26 +00:00
Ioi Lam
49fcc7a5c3 8283013: Simplify Arguments::parse_argument()
Reviewed-by: dholmes, ccheung
2022-03-31 15:46:34 +00:00
Daniel D. Daugherty
a7e988343c 8283467: runtime/Thread/StopAtExit.java needs updating
Reviewed-by: dholmes, pchilanomate
2022-03-24 17:06:35 +00:00
Fei Yang
5905b02c0e 8276799: Implementation of JEP 422: Linux/RISC-V Port
Co-authored-by: Yadong Wang <yadonn.wang@huawei.com>
Co-authored-by: Yanhong Zhu <zhuyanhong2@huawei.com>
Co-authored-by: Feilong Jiang <jiangfeilong@huawei.com>
Co-authored-by: Kun Wang <wangkun49@huawei.com>
Co-authored-by: Zhuxuan Ni <nizhuxuan@huawei.com>
Co-authored-by: Taiping Guo <guotaiping1@huawei.com>
Co-authored-by: Kang He <hekang6@huawei.com>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Xiaolin Zheng <yunyao.zxl@alibaba-inc.com>
Co-authored-by: Kuai Wei <kuaiwei.kw@alibaba-inc.com>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: ihse, dholmes, rriggs, kvn, shade
2022-03-24 09:22:46 +00:00
Daniel D. Daugherty
0b11b576a2 8283222: improve diagnosability of runtime/8176717/TestInheritFD.java timeouts
Reviewed-by: dholmes, hseigel
2022-03-23 19:18:57 +00:00
Thomas Stuefe
58487ddc17 8283249: CompressedClassPointers.java fails on ppc with 'Narrow klass shift: 0' missing
Reviewed-by: iklam
2022-03-23 06:46:55 +00:00
Daniel D. Daugherty
3f923b82c3 8282704: runtime/Thread/StopAtExit.java may leak memory
Reviewed-by: dholmes, alanb
2022-03-19 13:43:06 +00:00
Jie Fu
10ccfffae1 8283352: [CDS] SharedBaseAddress.java fails on x86_32
Reviewed-by: dholmes, iklam, stuefe
2022-03-19 07:08:47 +00:00
Ioi Lam
de4f04cb71 8253495: CDS generates non-deterministic output
Reviewed-by: erikj, kbarrett, ccheung, ihse
2022-03-16 03:12:48 +00:00
Yi Yang
3f0684d0b8 8275775: Add jcmd VM.classes to print details of all classes
Reviewed-by: dholmes, iklam, stuefe
2022-03-08 03:14:21 +00:00
Ioi Lam
cde923dd47 8282690: runtime/CommandLine/VMDeprecatedOptions.java fails after JDK-8281181
Reviewed-by: dholmes, dcubed
2022-03-08 00:19:07 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Ioi Lam
e07fd395bd 8281181: Do not use CPU Shares to compute active processor count
Reviewed-by: dholmes, sgehwolf
2022-03-04 20:14:11 +00:00
Calvin Cheung
234c17e8ff 8274788: Support archived heap objects in ParallelGC
Reviewed-by: iklam, ayang, tschatzl
2022-03-02 16:17:21 +00:00
Andrey Turbanov
d80f697182 8282523: Fix 'hierachy' typo
Reviewed-by: jiefu, kbarrett, dholmes
2022-03-02 13:05:12 +00:00
Ioi Lam
d983d108c5 8275731: CDS archived enums objects are recreated at runtime
Reviewed-by: coleenp, ccheung
2022-02-28 20:33:18 +00:00
Coleen Phillimore
f4486a190e 8262400: runtime/exceptionMsgs/AbstractMethodError/AbstractMethodErrorTest.java fails in test_ame5_compiled_vtable_stub with wrapper
Reviewed-by: dholmes, lmesnik
2022-02-24 12:59:15 +00:00
Ioi Lam
1864481df1 8279969: NULL return from map_bitmap_region() needs to be checked
Reviewed-by: ccheung, coleenp
2022-02-17 06:40:46 +00:00
Calvin Cheung
745f7e7d92 8281186: runtime/cds/appcds/DumpingWithNoCoops.java fails
Reviewed-by: minqi, iklam, stuefe
2022-02-15 17:18:34 +00:00
Ioi Lam
16f649b9c5 8281678: appcds/dynamicArchive/ArchiveConsistency.java fails after JDK-8279997
Reviewed-by: shade, dcubed
2022-02-14 18:53:50 +00:00
David Holmes
8acfbc2e21 8281675: VMDeprecatedOptions test fails after JDK-8278423
Reviewed-by: dcubed
2022-02-12 14:12:42 +00:00
Emanuel Peter
67077a0430 8278423: ExtendedDTraceProbes should be deprecated
Reviewed-by: dholmes, hseigel, kvn, thartmann
2022-02-12 13:08:39 +00:00
Calvin Cheung
c5ff6e45de 8223077: module path support for dynamic CDS archive
Reviewed-by: iklam, minqi
2022-02-11 17:39:20 +00:00
Yumin Qi
e75e8cd708 8279997: check_for_dynamic_dump should not exit vm
Reviewed-by: ccheung, iklam
2022-02-11 16:42:07 +00:00
Yumin Qi
8e4ef818a9 8280767: -XX:ArchiveClassesAtExit does not archive BoundMethodHandle$Species classes
Reviewed-by: iklam, ccheung
2022-02-04 19:20:22 +00:00
Calvin Cheung
d95de5c7fe 8255495: Support CDS Archived Heap for uncompressed oops
Reviewed-by: iklam, tschatzl
2022-02-01 19:33:36 +00:00
Yumin Qi
319b77492f 8277101: jcmd VM.cds dynamic_dump should not regenerate holder classes
Reviewed-by: iklam, ccheung
2022-01-31 19:27:59 +00:00
Harold Seigel
4501ddda7f 8214733: runtime/8176717/TestInheritFD.java timed out
Reviewed-by: lmesnik, coleenp, dcubed
2022-01-24 13:33:43 +00:00
Jie Fu
30cd47d421 8280499: runtime/cds/appcds/TestDumpClassListSource.java fails on platforms without AppCDS custom class loaders support
Reviewed-by: iklam
2022-01-24 04:37:51 +00:00
Calvin Cheung
b9ae77906e 8279675: CDS cannot handle non-existent JAR file in bootclassapth
Reviewed-by: iklam, minqi
2022-01-21 23:47:09 +00:00
KIRIYAMA Takuya
6287ae3707 8277531: Print actual default stacksize on Windows thread logging
Reviewed-by: dholmes, stuefe
2022-01-21 13:36:29 +00:00
Yumin Qi
d48279b0bf 8279009: CDS crashes when the source of an InstanceKlass is NULL
Reviewed-by: iklam, ccheung
2022-01-20 17:52:49 +00:00
Thomas Stuefe
39b1d75f25 8277822: Remove debug-only heap overrun checks in os::malloc and friends
Reviewed-by: coleenp, zgu
2022-01-19 11:16:00 +00:00
Yumin Qi
b0496b0df6 8279970: two AppCDS tests fail after JDK-8261455
Reviewed-by: ccheung, iklam
2022-01-19 03:21:19 +00:00
Yumin Qi
1228b2f1f8 8261455: Automatically generate the CDS archive if necessary
Reviewed-by: iklam, ccheung
2022-01-13 00:23:05 +00:00
Liam Miller-Cushon
cfee4512f7 8273914: Indy string concat changes order of operations
Reviewed-by: vromero, jlahoda
2022-01-11 15:45:15 +00:00
Harold Seigel
c08b2ac34c 8225093: Special property jdk.boot.class.path.append should not default to empty string
Reviewed-by: dholmes, sspitsyn, alanb
2022-01-11 13:43:13 +00:00
Ioi Lam
09cf5f19d7 8278602: CDS dynamic dump may access unloaded classes
Reviewed-by: coleenp, ccheung
2022-01-04 04:52:49 +00:00
Sergey Bylokhov
7fea10327e 8279134: Fix Amazon copyright in various files
Reviewed-by: xliu, phh
2021-12-26 22:10:54 +00:00
Yi Yang
ad1dc9c2ae 8278125: Some preallocated OOMEs are missing stack trace
Co-authored-by: dongyun.tdy <dongyun.tdy@alibaba-inc.com>
Reviewed-by: dholmes, coleenp
2021-12-23 02:14:52 +00:00
Yumin Qi
9a478b347e 8279022: JCmdTestFileSafety.java should check file time stamp for test result
Reviewed-by: ccheung
2021-12-22 16:17:33 +00:00
Yumin Qi
a6903f806a 8279018: CRC calculation in CDS should not include _version and _head_size
Reviewed-by: iklam, ccheung
2021-12-22 16:14:59 +00:00
Calvin Cheung
8549d8b569 8277100: Dynamic dump can inadvertently overwrite default CDS archive
Reviewed-by: iklam, minqi, dholmes
2021-12-20 23:04:40 +00:00
Calvin Cheung
0dbe4c5d51 8278131: runtime/cds/appcds/dynamicArchive/* tests failing in loom repo
Reviewed-by: iklam, dholmes, minqi
2021-12-16 02:32:44 +00:00
Jesper Wilhelmsson
e6b28e05c6 Merge 2021-12-16 00:26:36 +00:00
Evgeny Astigeevich
bcb79fd012 8278241: Implement JVM SpinPause on linux-aarch64
Reviewed-by: aph, phh
2021-12-15 16:57:30 +00:00
Jie Fu
f48a3e86d0 8278758: runtime/BootstrapMethod/BSMCalledTwice.java fails with release VMs after JDK-8262134
Reviewed-by: dcubed
2021-12-14 22:50:21 +00:00
Dean Long
32139c1a8a 8262134: compiler/uncommontrap/TestDeoptOOM.java failed with "guarantee(false) failed: wrong number of expression stack elements during deopt"
Reviewed-by: kvn, iveresov
2021-12-14 03:16:17 +00:00
Harold Seigel
15996e4075 8276241: JVM does not flag constant class entries ending in '/'
Reviewed-by: dholmes, lfoltan
2021-12-13 13:40:54 +00:00
Harold Seigel
14f7385a72 8277481: Obsolete seldom used CDS flags
Reviewed-by: iklam, ccheung, dholmes
2021-12-13 13:35:37 +00:00
Joe Darcy
09831e7aa4 8273146: Start of release updates for JDK 19
8277511: Add SourceVersion.RELEASE_19
8277513: Add source 19 and target 19 to javac

Reviewed-by: dholmes, alanb, erikj, iris, mikael, ihse
2021-12-09 17:01:59 +00:00
Yumin Qi
3e93e0b809 8276769: -Xshare:auto should tolerate problems in the CDS archive
Reviewed-by: iklam, ccheung
2021-12-08 16:20:39 +00:00
Calvin Cheung
40d726b8aa 8278310: Improve logging in CDS DynamicLoaderConstraintsTest.java
Reviewed-by: iklam
2021-12-08 16:07:49 +00:00
Calvin Cheung
e4852c6f0a 8277998: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java#custom-cl-zgc failed "assert(ZAddress::is_marked(addr)) failed: Should be marked"
Reviewed-by: iklam, minqi
2021-12-08 15:59:37 +00:00
Zhengyu Gu
5a036ace01 8277990: NMT: Remove NMT shutdown capability
Reviewed-by: stuefe, shade
2021-12-07 17:42:08 +00:00
Roman Kennke
5b81d5eeb4 8276901: Implement UseHeavyMonitors consistently
Reviewed-by: coleenp, mdoerr, dcubed
2021-12-07 14:41:42 +00:00
Thomas Stuefe
35361270cb 8277383: VM.metaspace optionally show chunk freelist details
Reviewed-by: coleenp, shade
2021-12-07 14:15:04 +00:00
Aleksey Shipilev
bef5c7a286 8278116: runtime/modules/LoadUnloadModuleStress.java has duplicate -Xmx
Reviewed-by: dholmes
2021-12-03 07:19:48 +00:00
Jie Fu
473ececaf5 8278174: runtime/cds/appcds/LambdaWithJavaAgent.java fails with release VMs
Reviewed-by: dholmes
2021-12-03 06:00:14 +00:00
Calvin Cheung
d2b16c8985 8276126: Dump time class transformation causes heap objects of non-boot classes to be archived
Reviewed-by: iklam, minqi
2021-12-02 14:39:27 +00:00
Zhengyu Gu
abaa073bcb 8277946: NMT: Deprecate and remove VM.native_memory shutdown jcmd command option
Reviewed-by: stuefe, shade, dholmes
2021-12-01 13:14:09 +00:00
Fairoz Matte
f0136ec945 8275687: runtime/CommandLine/PrintTouchedMethods test shouldn't catch RuntimeException
Reviewed-by: iklam, chagedorn
2021-11-25 08:37:31 +00:00
Daniel D. Daugherty
21e302a0f4 8270435: UT: MonitorUsedDeflationThresholdTest failed: did not find too_many string in output
Reviewed-by: dholmes
2021-11-25 04:27:21 +00:00
Daniel D. Daugherty
e8acac2aba 8277350: runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java times out
Reviewed-by: hseigel, dholmes, lmesnik
2021-11-23 17:08:31 +00:00
Thomas Stuefe
a3406a1d8a 8277092: TestMetaspaceAllocationMT2.java#ndebug-default fails with "RuntimeException: Committed seems high: NNNN expected at most MMMM"
Reviewed-by: coleenp
2021-11-19 19:49:57 +00:00
Harold Seigel
36bd4a35fb 8277404: Test VMDeprecatedOptions.java failing with Unable to create shared archive file
Reviewed-by: dcubed
2021-11-18 20:06:13 +00:00
Harold Seigel
b3a62b4881 8276795: Deprecate seldom used CDS flags
Reviewed-by: dholmes, ccheung, iklam
2021-11-18 13:18:37 +00:00
Ioi Lam
db55f9272c 8277343: dynamicArchive/SharedArchiveFileOption.java failed: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing
Reviewed-by: hseigel, ccheung
2021-11-18 08:49:07 +00:00
Ioi Lam
a77d8ddf11 8276787: Improve warning messages for -XX:+RecordDynamicDumpInfo
Reviewed-by: ccheung, stuefe
2021-11-16 21:03:33 +00:00
Calvin Cheung
bd92674be5 8276184: Exclude lambda proxy class from the CDS archive if its caller class is excluded
Reviewed-by: iklam, dholmes
2021-11-16 02:34:36 +00:00
Harold Seigel
55b36c6f3b 8276825: hotspot/runtime/SelectionResolution test errors
Reviewed-by: dholmes, shade
2021-11-10 13:11:16 +00:00
Ioi Lam
8747882e4c 8276790: Rename GenericCDSFileMapHeader::_base_archive_path_offset
Reviewed-by: dholmes, ccheung
2021-11-09 07:18:06 +00:00
Ioi Lam
884915496f 8275846: read_base_archive_name() could read past the end of buffer
Reviewed-by: ccheung, stuefe
2021-11-07 21:38:59 +00:00
Yumin Qi
603bba282a 8271420: Extend CDS custom loader support to Windows platform
Reviewed-by: iklam, ccheung
2021-11-03 23:16:15 +00:00
Thomas Stuefe
d6d82f52d4 8275608: runtime/Metaspace/elastic/TestMetaspaceAllocationMT2 too slow
Reviewed-by: mbaesken, shade
2021-10-29 13:54:27 +00:00
Volker Simonis
a343fa8766 8275865: Print deoptimization statistics in product builds
Reviewed-by: thartmann, kvn
2021-10-28 12:40:30 +00:00
Calvin Cheung
e5cd2692da 8274944: AppCDS dump causes SEGV in VM thread while adjusting lambda proxy class info
Reviewed-by: minqi, dholmes
2021-10-26 16:26:57 +00:00
Thomas Stuefe
3ff085e296 8275582: Don't purge metaspace mapping lists
Reviewed-by: coleenp, lkorinth
2021-10-26 04:52:01 +00:00
Igor Ignatyev
c94dc2ab60 8272854: split runtime/CommandLine/PrintTouchedMethods.java test
Reviewed-by: iklam
2021-10-23 03:59:55 +00:00
David Holmes
fab3d6c612 8275761: Backout: JDK-8274794 Print all owned locks in hs_err file
Reviewed-by: mikael
2021-10-22 04:47:53 +00:00
Harold Seigel
e39bdc9ddb 8274714: Incorrect verifier protected access error message
Reviewed-by: dholmes, coleenp
2021-10-21 13:50:32 +00:00
Coleen Phillimore
819d2df8b0 8274794: Print all owned locks in hs_err file
Reviewed-by: stuefe, dholmes
2021-10-21 11:28:22 +00:00
Calvin Cheung
ee64ce9f14 8274937: Revert the timeout setting for DynamicLoaderConstraintsTest
Reviewed-by: dcubed, minqi
2021-10-15 16:53:00 +00:00
Fairoz Matte
d8f6b6c19a 8274718: runtime/cds/appcds/LambdaEagerInit.java fails with -XX:-CompactStrings
Reviewed-by: iklam, ccheung
2021-10-13 15:38:36 +00:00
Doug Simon
33050f8013 8274986: max code printed in hs-err logs should be configurable
Reviewed-by: never, dholmes
2021-10-12 09:49:50 +00:00
Aleksey Shipilev
a5f09d1088 8275031: runtime/ErrorHandling/MachCodeFramesInErrorFile.java fails when hsdis is present
Reviewed-by: dholmes, dnsimon
2021-10-12 06:22:13 +00:00
Coleen Phillimore
110e38ded8 8274753: ZGC: SEGV in MetaspaceShared::link_shared_classes
8274935: dumptime_table has stale entry

Reviewed-by: eosterlund, iklam
2021-10-11 12:11:11 +00:00
Doug Simon
b60837a7d5 8272586: emit abstract machine code in hs-err logs
Reviewed-by: kvn, dholmes
2021-10-08 08:06:53 +00:00
Yumin Qi
8de77634c4 8273152: Refactor CDS FileMapHeader loading code
Reviewed-by: ccheung, iklam
2021-10-07 21:33:32 +00:00
Jie Fu
722d639fad 8274838: runtime/cds/appcds/TestSerialGCWithCDS.java fails on Windows
Reviewed-by: iklam, hseigel
2021-10-07 12:42:16 +00:00
Ioi Lam
6a573b888d 8273508: Support archived heap objects in SerialGC
Reviewed-by: tschatzl, ccheung
2021-09-28 06:23:47 +00:00
Stefan Karlsson
c60bcd09b7 8273928: Use named run ids when problem listing tests
Reviewed-by: pliden, kbarrett, dholmes
2021-09-21 07:42:36 +00:00
Ioi Lam
b98290444a 8271073: Improve testing with VM option VerifyArchivedFields
Reviewed-by: ccheung, minqi
2021-09-16 23:26:55 +00:00
Yasumasa Suenaga
8d73ee684a 8273471: Add foldmultilines to UL for stdout/err
Reviewed-by: dholmes, iklam
2021-09-14 05:12:36 +00:00
Ioi Lam
922e86f4ff 8273522: Rename test property vm.cds.archived.java.heap to vm.cds.write.archived.java.heap
Reviewed-by: minqi, ccheung, mseledtsov
2021-09-10 22:45:26 +00:00
Daniel D. Daugherty
ba31eee4fc 8273109: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest times out
Reviewed-by: bpb
2021-09-08 18:33:04 +00:00
Aleksey Shipilev
286a1f6b7c 8273440: Zero: Disable runtime/Unsafe/InternalErrorTest.java
Reviewed-by: dholmes
2021-09-08 07:44:35 +00:00
Yasumasa Suenaga
4eacdb38a8 8273104: Refactoring option parser for UL
Reviewed-by: iklam, dholmes
2021-09-08 01:27:13 +00:00
Aleksey Shipilev
81c719be39 8273333: Zero should warn about unimplemented -XX:+LogTouchedMethods
Reviewed-by: minqi, dholmes
2021-09-07 07:35:23 +00:00
Yumin Qi
d414a88d88 8273240: Dynamic test ArchiveConsistency.java should use CDSArchiveUtils
Reviewed-by: iklam
2021-09-03 20:36:48 +00:00
Aleksey Shipilev
6cfe314262 8272970: Parallelize runtime/InvocationTests/
Reviewed-by: dholmes, iignatyev
2021-09-02 07:56:56 +00:00
Jie Fu
a9a83b248e 8273256: runtime/cds/appcds/TestEpsilonGCWithCDS.java fails due to Unrecognized VM option 'ObjectAlignmentInBytes=64' on x86_32
Reviewed-by: dholmes, iklam
2021-09-02 04:10:46 +00:00
Ioi Lam
655ea6d42a 8270489: Support archived heap objects in EpsilonGC
Reviewed-by: shade, ccheung
2021-09-01 16:50:11 +00:00
Yasumasa Suenaga
b16a04ebf7 8271186: Add UL option to replace newline char
Reviewed-by: iklam, dholmes
2021-08-27 05:06:52 +00:00
Igor Ignatyev
6ace805f8c 8272856: DoubleFlagWithIntegerValue uses G1GC-only flag
Reviewed-by: dholmes, kbarrett
2021-08-24 18:43:54 +00:00
Patricio Chilano Mateo
7454306920 8272526: Cleanup ThreadStateTransition class
Reviewed-by: dholmes, rehn, coleenp
2021-08-24 14:09:59 +00:00
Igor Ignatyev
709b5910c3 8272553: several hotspot runtime/CommandLine tests don't check exit code
Reviewed-by: dholmes
2021-08-23 18:03:13 +00:00
David Holmes
f77a1a156f 8272472: StackGuardPages test doesn't build with glibc 2.34
Reviewed-by: shade, stuefe, jiefu
2021-08-22 01:13:27 +00:00
Igor Ignatyev
fe72197102 8272551: mark hotspot runtime/modules tests which ignore external VM flags
Reviewed-by: mseledtsov, jiefu
2021-08-17 19:37:45 +00:00
Igor Ignatyev
05d64da7f3 8272291: mark hotspot runtime/logging tests which ignore external VM flags
Reviewed-by: mseledtsov, dholmes
2021-08-17 19:36:44 +00:00
Igor Ignatyev
989f39f810 8272552: mark hotspot runtime/cds tests which ignore external VM flags
Reviewed-by: mseledtsov, jiefu, dholmes, iklam
2021-08-17 03:45:26 +00:00
Igor Ignatyev
b2c272d4e2 8272305: several hotspot runtime/modules don't check exit codes
Reviewed-by: dholmes, mseledtsov
2021-08-16 16:56:15 +00:00
Ioi Lam
36e2ddad4d 8272348: Update CDS tests in anticipation of JDK-8270489
Reviewed-by: ccheung, minqi
2021-08-16 03:22:52 +00:00
Coleen Phillimore
464e874a5c 8048190: NoClassDefFoundError omits original ExceptionInInitializerError
Reviewed-by: dholmes, iklam
2021-08-12 13:45:36 +00:00
Igor Ignatyev
bd27bb9cbe 8272345: macos doesn't check os::set_boot_path() result
Reviewed-by: dholmes
2021-08-12 03:45:44 +00:00
Igor Ignatyev
75a06421e5 8272335: runtime/cds/appcds/MoveJDKTest.java doesn't check exit codes
Reviewed-by: iklam
2021-08-11 19:38:52 +00:00
Christoph Göttschkes
adba09b91d 8272146: Disable Fibonacci test on memory constrained systems
Reviewed-by: dholmes, mseledtsov, shade
2021-08-11 08:48:18 +00:00
Igor Ignatyev
3b899ef7ff 8272168: some hotspot runtime/logging tests don't check exit code
Reviewed-by: jiefu
2021-08-10 05:11:09 +00:00
Igor Ignatyev
eb6f3fe59d 8272169: runtime/logging/LoaderConstraintsTest.java doesn't build test.Empty
Reviewed-by: dholmes
2021-08-10 02:26:08 +00:00
Igor Ignatyev
9654fd73cd 8271892: mark hotspot runtime/PrintStringTableStats/PrintStringTableStatsTest.java test as ignoring external VM flags
Reviewed-by: dholmes
2021-08-10 02:12:38 +00:00
Igor Ignatyev
c495ede2c2 8272099: mark hotspot runtime/Monitor tests which ignore external VM flags
Reviewed-by: dcubed
2021-08-06 18:49:48 +00:00
Igor Ignatyev
e882087f7a 8271904: mark hotspot runtime/ClassFile tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-06 16:36:50 +00:00
Ioi Lam
e7b6f48182 8265602: -XX:DumpLoadedClassList should support custom loaders
Reviewed-by: ccheung, minqi
2021-08-06 05:58:48 +00:00
Igor Ignatyev
3ab95d1917 8271905: mark hotspot runtime/Metaspace tests which ignore external VM flags
Reviewed-by: stuefe
2021-08-05 16:32:11 +00:00
Igor Ignatyev
359c7084a1 8271893: mark hotspot runtime/PerfMemDestroy/PerfMemDestroy.java test as ignoring external VM flags
Reviewed-by: coleenp
2021-08-04 19:50:36 +00:00
Igor Ignatyev
a3b0143970 8271887: mark hotspot runtime/CDSCompressedKPtrs tests which ignore external VM flags
Reviewed-by: coleenp
2021-08-04 19:49:47 +00:00
Igor Ignatyev
6c17e6deb2 8271891: mark hotspot runtime/Safepoint tests which ignore external VM flags
Reviewed-by: coleenp
2021-08-04 19:46:13 +00:00
Igor Ignatyev
ff7431eafe 8271886: mark hotspot runtime/InvocationTests tests which ignore external VM flags
Reviewed-by: coleenp
2021-08-04 19:40:05 +00:00
Igor Ignatyev
cdf3d55c82 8271890: mark hotspot runtime/Dictionary tests which ignore external VM flags
Reviewed-by: coleenp
2021-08-04 19:39:12 +00:00
Thomas Stuefe
eec64f5587 8256844: Make NMT late-initializable
Reviewed-by: coleenp, zgu
2021-08-04 12:19:02 +00:00
Jie Fu
977b8c4e16 8271836: runtime/ErrorHandling/ClassPathEnvVar.java fails with release VMs
Reviewed-by: stuefe
2021-08-04 07:25:36 +00:00
Igor Ignatyev
9e769090a0 8271824: mark hotspot runtime/CompressedOops tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 05:19:33 +00:00
Igor Ignatyev
e49b7d958c 8271828: mark hotspot runtime/classFileParserBug tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 05:18:10 +00:00
Igor Ignatyev
68f784778c 8271825: mark hotspot runtime/LoadClass tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 05:17:14 +00:00
Igor Ignatyev
3d40cac8ce 8271821: mark hotspot runtime/MinimalVM tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 05:16:22 +00:00
Igor Ignatyev
33ec3a4d95 8271744: mark hotspot runtime/getSysPackage tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 04:53:20 +00:00
Igor Ignatyev
b48f31d381 8271743: mark hotspot runtime/jni tests which ignore external VM flags
Reviewed-by: dholmes
2021-08-04 04:51:46 +00:00
Igor Ignatyev
68dd828088 8271224: runtime/EnclosingMethodAttr/EnclMethodAttr.java doesn't check exit code
Reviewed-by: mseledtsov, dholmes
2021-08-04 02:22:07 +00:00
Igor Ignatyev
34ba70a71b 8269037: jsig/Testjsig.java doesn't have to be restricted to linux only
Reviewed-by: mseledtsov, dholmes
2021-08-04 02:19:01 +00:00
Igor Ignatyev
659498a07f 8271829: mark hotspot runtime/Throwable tests which ignore external VM flags
Reviewed-by: jiefu
2021-08-04 01:59:33 +00:00
Igor Ignatyev
d3b40cb683 8271826: mark hotspot runtime/condy tests which ignore external VM flags
Reviewed-by: jiefu
2021-08-04 01:49:11 +00:00
Calvin Cheung
3435d299f7 8271003: hs_err improvement: handle CLASSPATH env setting longer than O_BUFLEN
Reviewed-by: dholmes, stuefe, iklam, minqi
2021-08-04 01:38:18 +00:00
Jesper Wilhelmsson
c8add223a1 Merge
Reviewed-by: mikael
2021-08-03 01:01:25 +00:00
Yumin Qi
84f0231031 8271419: Refactor test code for modifying CDS archive contents
Reviewed-by: iklam, ccheung
2021-08-02 23:07:43 +00:00
Igor Ignatyev
ada58d13f7 8067223: [TESTBUG] Rename Whitebox API package
Reviewed-by: dholmes, kvn
2021-08-02 20:44:18 +00:00
David Holmes
4f42eb6601 8269523: runtime/Safepoint/TestAbortOnVMOperationTimeout.java failed when expecting 'VM operation took too long'
Reviewed-by: shade, mseledtsov
2021-07-30 04:03:11 +00:00
Emmanuel Bourg
d09b028407 8271396: Spelling errors
Reviewed-by: tschatzl, chegar, iris, psadhukhan, cjplummer
2021-07-29 16:03:31 +00:00
Jesper Wilhelmsson
a0504cff9f Merge 2021-07-29 01:07:57 +00:00
Igor Ignatyev
20d2dc1f35 8271403: mark hotspot runtime/memory tests which ignore external VM flags
Reviewed-by: dholmes
2021-07-28 23:12:03 +00:00
Igor Ignatyev
e593e3de4c 8271402: mark hotspot runtime/os tests which ignore external VM flags
Reviewed-by: dholmes
2021-07-28 23:11:11 +00:00
Igor Ignatyev
c8ae7e5b03 8271174: runtime/ClassFile/UnsupportedClassFileVersion.java can be run in driver mode
Reviewed-by: mseledtsov, dholmes
2021-07-28 15:38:26 +00:00
Jesper Wilhelmsson
a50161b750 Merge 2021-07-28 00:36:16 +00:00
Igor Ignatyev
f1e15c8c8f 8271350: runtime/Safepoint tests use OutputAnalyzer::shouldMatch instead of shouldContaint
Reviewed-by: mseledtsov, dholmes
2021-07-27 23:20:19 +00:00
Igor Ignatyev
cea7bc2dea 8271223: two runtime/ClassFile tests don't check exit code
Reviewed-by: dholmes
2021-07-27 02:59:40 +00:00
Jesper Wilhelmsson
eb6da88817 Merge 2021-07-27 00:57:58 +00:00
Igor Ignatyev
7ddabbff74 8271175: runtime/jni/FindClassUtf8/FindClassUtf8.java doesn't have to be run in othervm
Reviewed-by: dholmes
2021-07-26 17:19:33 +00:00
Igor Ignatyev
3c27f91986 8271222: two runtime/Monitor tests don't check exit code
Reviewed-by: dholmes
2021-07-26 17:18:26 +00:00
Jesper Wilhelmsson
0dcfc42f23 Merge 2021-07-24 01:06:15 +00:00
Igor Ignatyev
b4c6229fd4 8271189: runtime/handshake/HandshakeTimeoutTest.java can be run in driver mode
Reviewed-by: dholmes
2021-07-23 15:32:42 +00:00
Jesper Wilhelmsson
9935440ede Merge 2021-07-23 01:41:14 +00:00
Igor Ignatyev
e3800e6497 8271162: runtime/StackTrace/LargeClassTest.java can be run in driver mode
Reviewed-by: dholmes
2021-07-22 23:54:28 +00:00
Igor Ignatyev
ee93cef8aa 8271158: runtime/handshake/HandshakeTimeoutTest.java test doesn't check exit code
Reviewed-by: dcubed
2021-07-22 23:53:36 +00:00
Igor Ignatyev
84be910e1d 8271169: runtime/Safepoint/TestAbortVMOnSafepointTimeout.java can be run in driver mode
Reviewed-by: dholmes
2021-07-22 23:21:39 +00:00
Igor Ignatyev
2d165a2bdf 8271160: runtime/jni/checked/TestCheckedJniExceptionCheck.java doesn't set -Djava.library.path
Reviewed-by: dcubed, dholmes
2021-07-22 22:15:25 +00:00
Igor Ignatyev
4812e53791 8271094: runtime/duplAttributes/DuplAttributesTest.java doesn't check exit code
Reviewed-by: jiefu, dholmes
2021-07-22 17:14:30 +00:00
Igor Ignatyev
6a9ab6a2cf 8271093: remove deadcode from runtime/Thread/TestThreadDumpSMRInfo.java test
Reviewed-by: jiefu, dholmes, dcubed
2021-07-22 17:13:26 +00:00
Patricio Chilano Mateo
e7f9009315 8270085: Suspend during block transition may deadlock if lock held
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: dcubed, dholmes, coleenp
2021-07-22 14:30:19 +00:00
Jesper Wilhelmsson
c36755dedf Merge 2021-07-22 00:46:18 +00:00
Igor Ignatyev
9b177a7486 8268612: a few runtime/memory tests don't check exit code
Reviewed-by: dholmes, mseledtsov
2021-07-21 19:47:03 +00:00
Ioi Lam
0790f04d8a 8271015: Split cds/SharedBaseAddress.java test into smaller parts
Reviewed-by: ccheung, minqi
2021-07-21 19:07:07 +00:00
Calvin Cheung
00195b85ed 8265604: Support unlinked classes in dynamic CDS archive
Reviewed-by: minqi, iklam
2021-07-20 02:06:42 +00:00
Harold Seigel
67dc1c5bf3 8270837: fix typos in test TestSigParse.java
Reviewed-by: jiefu
2021-07-16 14:02:12 +00:00
David Holmes
e35005d5ce 8268773: Improvements related to: Failed to start thread - pthread_create failed (EAGAIN)
Reviewed-by: stuefe, iklam
2021-07-16 02:49:40 +00:00
Yumin Qi
a4e5f08fef 8267281: Call prepare_for_dynamic_dumping for jcmd dynamic_dump
Reviewed-by: iklam, ccheung
2021-07-12 19:03:38 +00:00
Yumin Qi
f741e4ca74 8264735: Make dynamic dump repeatable
Reviewed-by: ccheung, iklam
2021-07-07 19:41:45 +00:00
Zhengyu Gu
bffb1a7199 8269923: runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java failed with "FATAL ERROR in native method: Primitive type array expected but not received for JNI array operation"
Reviewed-by: dcubed, dholmes
2021-07-07 11:47:02 +00:00
Yumin Qi
e8206dbb17 8263538: SharedArchiveConsistency.java should test -Xshare:auto as well
Reviewed-by: iklam, ccheung
2021-07-06 22:27:13 +00:00
Zhengyu Gu
16aa8cbf8d 8269697: JNI_GetPrimitiveArrayCritical() should not accept object array
Reviewed-by: kbarrett, dholmes
2021-07-06 12:25:11 +00:00
Christoph Göttschkes
53ad903a82 8269135: TestDifferentProtectionDomains runs into timeout in client VM
Reviewed-by: dholmes, dcubed
2021-07-02 15:16:31 +00:00
Calvin Cheung
c1e2a29448 8263640: hs_err improvement: handle class path longer than O_BUFLEN
Reviewed-by: iklam, minqi, dholmes
2021-06-29 17:57:15 +00:00
Patricio Chilano Mateo
e238cbd596 8269530: runtime/ParallelLoad/ParallelSuperTest.java timeout
Reviewed-by: dholmes, coleenp
2021-06-29 14:35:13 +00:00
Patricio Chilano Mateo
2fd7943ec1 8256425: Obsolete Biased Locking in JDK 18
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
Yumin Qi
7c31903dd3 8267075: jcmd VM.cds should print directory of the output files
Reviewed-by: ccheung
2021-06-24 14:52:47 +00:00
Harold Seigel
f2e690e0ee 8268720: Unspecified checks on NameAndType constants should not be performed
Reviewed-by: dholmes, lfoltan
2021-06-23 12:11:37 +00:00
Thomas Schatzl
1692fd2eba 8017163: G1: Refactor remembered sets
8048504: G1: Investigate replacing the coarse and fine grained data structures in the remembered sets
6949259: G1: Merge sparse and fine remembered set hash tables

Co-authored-by: Ivan Walulya <iwalulya@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: sjohanss, iwalulya
2021-06-21 10:06:05 +00:00
Jesper Wilhelmsson
b7d78a5b66 Merge 2021-06-18 23:04:20 +00:00
Igor Ignatyev
60389eedb3 8269025: jsig/Testjsig.java doesn't check exit code
Reviewed-by: hseigel
2021-06-18 15:25:25 +00:00
Igor Ignatyev
2f65d4021f 8268599: mark hotspot runtime/sealedClasses tests which ignore external VM flags
Reviewed-by: dholmes, mseledtsov
2021-06-18 10:01:58 +00:00
Igor Ignatyev
3e1dc0a765 8268598: mark hotspot runtime/stringtable tests which ignore external VM flags
Reviewed-by: hseigel, mseledtsov
2021-06-18 10:01:03 +00:00