Jesper Wilhelmsson
17295b1bb0
Merge
...
Reviewed-by: dcubed
2021-06-14 15:55:57 +00:00
Calvin Cheung
01054e6f5a
8268470: CDS dynamic dump asserts with JFR RecordingStream
...
Reviewed-by: minqi, iklam
2021-06-11 16:08:18 +00:00
Igor Ignatyev
cce8da2c60
8268602: a couple runtime/os tests don't check exit code
...
Reviewed-by: dholmes
2021-06-11 12:40:44 +00:00
Igor Ignatyev
a437ce839f
8268580: runtime/memory/LargePages/TestLargePagesFlags.java should be run in driver mode
...
Reviewed-by: dholmes
2021-06-11 05:05:23 +00:00
Igor Ignatyev
bd9c2fa73b
8268565: runtime/records/RedefineRecord.java should be run in driver mode
...
Backport-of: 94d0b0f981
2021-06-11 03:12:50 +00:00
Igor Ignatyev
94d0b0f981
8268565: runtime/records/RedefineRecord.java should be run in driver mode
...
Reviewed-by: hseigel
2021-06-11 02:44:08 +00:00
Calvin Cheung
4fd2a14997
8267556: Enhance class paths check during runtime
...
Reviewed-by: minqi, iklam
2021-06-10 19:50:44 +00:00
Daniel D. Daugherty
f677163b8a
8266130: convert Thread-SMR stress tests from counter based to time based
...
Reviewed-by: cjplummer, dholmes
2021-06-10 13:09:26 +00:00
Igor Ignatyev
6c552a7b42
8268544: some runtime/sealedClasses tests should be run in driver mode
...
Reviewed-by: hseigel
2021-06-10 13:03:29 +00:00
Igor Ignatyev
6b6ff5360a
8268543: some runtime/verifier tests should be run in driver mode
...
Reviewed-by: hseigel
2021-06-10 12:29:44 +00:00
Igor Ignatyev
2623b0bf39
8268475: execute runtime/InvocationTests w/ -UseVtableBasedCHA
...
Reviewed-by: mseledtsov, kvn
2021-06-10 03:18:39 +00:00
Calvin Cheung
516e60a7ee
8268095: CDS MethodHandle tests should add -XX:-VerifyDependencies
...
Reviewed-by: iklam, minqi
2021-06-03 22:56:57 +00:00
Ioi Lam
ecf6112a21
8267958: [TESTBUG] cds DynamicLoaderConstraintsTest.java timed out
...
Reviewed-by: ccheung, jiefu
2021-06-02 19:05:42 +00:00
David Holmes
71425ddfb4
8267118: OutOfMemoryError cannot be caught as a Throwable
...
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: coleenp
2021-06-02 10:42:17 +00:00
Joe Darcy
8624cb53cd
8266530: HotSpot changes for JEP 306
...
Reviewed-by: dholmes, hseigel
2021-06-01 22:00:48 +00:00
Jie Fu
6ffa3e66db
8267754: cds/appcds/loaderConstraints/LoaderConstraintsTest.java fails on x86_32 due to customized class loader is not supported
...
Reviewed-by: minqi, dholmes, iklam
2021-05-26 22:58:45 +00:00
David Holmes
d0d2ddccaf
8267651: runtime/handshake/HandshakeTimeoutTest.java times out when dumping core
...
Reviewed-by: dcubed
2021-05-25 23:35:17 +00:00
Ioi Lam
209769b5ad
8267347: CDS record_linking_constraint asserts with unregistered class
...
Reviewed-by: minqi, ccheung
2021-05-24 21:52:13 +00:00
Weijun Wang
640a2afda3
8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
...
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Denghui Dong
83b3607290
8266642: improve ResolvedMethodTable hash function
...
Reviewed-by: vlivanov, coleenp
2021-05-20 22:19:04 +00:00
Calvin Cheung
1c7a1310d9
8267350: Archived old interface extends interface with default method causes crash
...
Reviewed-by: iklam, minqi
2021-05-20 21:03:13 +00:00
Vicente Romero
0fa9223f34
8260517: implement Sealed Classes as a standard feature in Java
...
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Reviewed-by: dholmes, mcimadamore, jlahoda
2021-05-20 09:11:08 +00:00
Thomas Stuefe
726785b8d7
8267155: runtime/os/TestTracePageSizes times out
...
Reviewed-by: shade, sjohanss
2021-05-20 08:16:36 +00:00
Jie Fu
3f883e8f0d
8267351: runtime/cds/SharedBaseAddress.java fails on x86_32 due to Unrecognized VM option 'UseCompressedOops'
...
Reviewed-by: dholmes, ccheung
2021-05-19 07:17:13 +00:00
Aleksey Shipilev
f6c2891118
8267229: Split runtime/Metaspace/elastic test configurations for better scalability
...
Reviewed-by: stuefe
2021-05-18 08:08:54 +00:00
Thomas Stuefe
3c010a7c7e
8265705: aarch64: KlassDecodeMovk mode broken
...
Reviewed-by: aph, iklam, ngasson
2021-05-17 16:14:22 +00:00
Yumin Qi
2066f497b9
8266764: [REDO] JDK-8255493 Support for pre-generated java.lang.invoke classes in CDS dynamic archive
...
Reviewed-by: ccheung, iklam
2021-05-16 02:26:46 +00:00
Harold Seigel
16ca370f1a
8265694: Investigate test StressHiddenClasses.java
...
Reviewed-by: lfoltan
2021-05-14 14:52:37 +00:00
Ioi Lam
1e0ecd6d56
8265605: Cannot call BootLoader::loadClassOrNull before initPhase2
...
Reviewed-by: alanb, mchung
2021-05-14 06:26:41 +00:00
Harold Seigel
e14b026841
8243287: Removal of Unsafe::defineAnonymousClass
...
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
David Holmes
d215743a91
8231031: runtime/ReservedStack/ReservedStackTest.java fails after jsr166 refresh
...
Reviewed-by: dcubed
2021-05-13 01:14:38 +00:00
Philippe Marschall
ab17be2835
8252530: Fix inconsistencies in hotspot whitebox
...
Reviewed-by: dholmes, amenkov
2021-05-12 23:14:30 +00:00
David Holmes
e828a939a8
8261395: C1 crash "cannot make java calls from the native compiler"
...
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Reviewed-by: iklam, hseigel, coleenp
2021-05-12 05:21:58 +00:00
Calvin Cheung
25d99e5267
8266330: itableMethodEntry::initialize() asserts with archived old classes
...
Reviewed-by: iklam, minqi
2021-05-10 16:24:11 +00:00
Yumin Qi
04fad70437
8266765: [BACKOUT] JDK-8255493 Support for pre-generated java.lang.invoke classes in CDS dynamic archive
...
Reviewed-by: ccheung
2021-05-07 23:49:00 +00:00
Wang Huang
9a19a0cc10
8264760: JVM crashes when two threads encounter the same resolution error
...
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Wu Yan <wuyan34@huawei.com>
Reviewed-by: dholmes, hseigel
2021-05-07 12:55:40 +00:00
Yumin Qi
43ad24feb2
8265465: jcmd VM.cds should keep already dumped archive when exception happens
...
Reviewed-by: iklam, ccheung
2021-05-07 03:01:32 +00:00
Aleksey Shipilev
36e5ad61e6
8263236: runtime/os/TestTracePageSizes.java fails on old kernels
...
Reviewed-by: dholmes, sjohanss, stuefe
2021-05-06 20:34:49 +00:00
Harold Seigel
eb3b96d86b
8266496: WBIsKlassAliveClosure.do_klass() fails for hidden classes
...
Reviewed-by: dholmes, coleenp, mseledtsov, lfoltan
2021-05-06 12:25:53 +00:00
Yumin Qi
8b37d48770
8255493: Support for pre-generated java.lang.invoke classes in CDS dynamic archive
...
Reviewed-by: iklam, ccheung
2021-05-04 17:18:43 +00:00
Per Liden
c5dc657f0b
8266056: runtime/stringtable/StringTableCleaningTest.java failed with "RuntimeException: Missing Callback in [10, 11]"
...
Reviewed-by: coleenp, dholmes
2021-05-03 07:28:19 +00:00
Ioi Lam
2c381e0f8d
8262376: ReplaceCriticalClassesForSubgraphs.java fails if --with-build-jdk is used
...
Reviewed-by: dholmes, minqi, ccheung
2021-04-29 23:22:49 +00:00
Yasumasa Suenaga
39abac98f9
8266176: -Wmaybe-uninitialized happens in libArrayIndexOutOfBoundsExceptionTest.c
...
Reviewed-by: dholmes
2021-04-29 07:59:35 +00:00
Aleksei Voitylov
f6e26f6f33
8265756: AArch64: initialize memory allocated for locals according to Windows AArch64 stack page growth requirement in template interpreter
...
Reviewed-by: adinn, aph
2021-04-27 11:17:28 +00:00
Vladimir Kozlov
4785e112ae
8264806: Remove the experimental JIT compiler
...
Reviewed-by: iignatyev, erikj
2021-04-27 06:23:21 +00:00
Vladimir Kozlov
694acedf18
8264805: Remove the experimental Ahead-of-Time Compiler
...
Reviewed-by: coleenp, erikj, stefank, iignatyev, dholmes, aph, shade, iklam, mchung, iveresov
2021-04-27 01:12:18 +00:00
Yumin Qi
20a373a0d0
8265393: VM crashes if both -XX:+RecordDynamicDumpInfo and -XX:SharedArchiveFile options are specified
...
Reviewed-by: iklam, ccheung
2021-04-23 21:51:11 +00:00
Daniel D. Daugherty
c9b70c8042
8265240: runtime/Thread/SuspendAtExit.java needs updating
...
Reviewed-by: rehn, dholmes
2021-04-23 14:20:34 +00:00
Calvin Cheung
9499175064
8261090: Store old classfiles in static CDS archive
...
Reviewed-by: iklam, minqi
2021-04-22 15:13:29 +00:00
Harold Seigel
f45d46095a
8265017: runtime/HiddenClasses/StressHiddenClasses.java timed out on Win* OCI
...
Reviewed-by: dholmes
2021-04-21 17:34:32 +00:00
Harold Seigel
0136c89ce1
8265490: Unterminated string passed to FindClass() in hotspot test
...
Reviewed-by: coleenp, stuefe
2021-04-21 16:01:22 +00:00
Erik Gahlin
4dcaac1feb
8265036: JFR: Remove use of -XX:StartFlightRecording= and -XX:FlightRecorderOptions=
...
Reviewed-by: cjplummer
2021-04-20 15:53:45 +00:00
Erik Gahlin
7c37c022a1
8244190: JFR: When starting a JVM with -XX:StartFlightRecording, output is written to stdout
...
Reviewed-by: mgronlun
2021-04-16 17:26:13 +00:00
Harold Seigel
b23dbdbdb3
8257804: Test runtime/modules/ModuleStress/ModuleStressGC.java fails: 'package test defined in module jdk.test, exports list being walked' missing from stdout/stderr
...
Reviewed-by: dholmes
2021-04-15 12:19:47 +00:00
Yumin Qi
e7cbeba866
8259070: Add jcmd option to dump CDS
...
Reviewed-by: ccheung, iklam, mli
2021-04-15 05:21:24 +00:00
Hui Shi
42f4d70627
8264649: runtime/InternalApi/ThreadCpuTimesDeadlock.java crash in fastdebug C2 with -XX:-UseTLAB
...
Reviewed-by: thartmann, kvn
2021-04-10 00:03:57 +00:00
Coleen Phillimore
f26cd2ac1c
8264997: Remove SystemDictionary::cache_get
...
Reviewed-by: hseigel
2021-04-09 20:47:06 +00:00
Coleen Phillimore
06e6b1f7ae
8259242: Remove ProtectionDomainSet_lock
...
Reviewed-by: dholmes, pchilanomate
2021-04-09 14:59:43 +00:00
Coleen Phillimore
255afbea92
8264672: runtime/ParallelLoad/ParallelSuperTest.java timed out
...
Reviewed-by: hseigel, lfoltan, dholmes
2021-04-08 11:44:23 +00:00
Ioi Lam
78d1164ce2
8214455: Relocate CDS archived regions to the top of the G1 heap
...
Reviewed-by: tschatzl, ccheung
2021-04-08 00:41:28 +00:00
Yumin Qi
d920f8588c
8264540: WhiteBox.metaspaceReserveAlignment should return shared region alignment
...
Reviewed-by: ccheung, iklam
2021-04-05 18:31:12 +00:00
Daniel D. Daugherty
f259eeaf65
8264393: JDK-8258284 introduced dangling TLH race
...
Reviewed-by: dholmes, rehn, eosterlund
2021-04-03 19:06:34 +00:00
Coleen Phillimore
5e59d28def
8262046: Clean up parallel class loading code and comments
...
Reviewed-by: lfoltan, iklam
2021-04-01 21:16:58 +00:00
Yi Yang
de495df78d
8264413: Data is written to file header even if its CRC32 was calculated
...
Reviewed-by: ccheung, minqi
2021-04-01 02:07:48 +00:00
Yumin Qi
928fa5b5f9
8244540: Print more information with -XX:+PrintSharedArchiveAndExit
...
Reviewed-by: iklam, ccheung
2021-03-31 03:10:38 +00:00
Yi Yang
b65219881d
8264429: Test runtime/cds/appcds/VerifyWithDefaultArchive.java assumes OpenJDK build
...
Reviewed-by: dcubed, shade
2021-03-30 14:45:55 +00:00
Yi Yang
bcdf4694e0
8264337: VM crashed when -XX:+VerifySharedSpaces
...
Reviewed-by: minqi, ccheung, shade
2021-03-30 07:20:10 +00:00
Ioi Lam
41657b15ac
8261551: Remove special CDS handling in Metaspace::allocate
...
Reviewed-by: minqi, dholmes, stuefe
2021-03-26 03:37:14 +00:00
Anton Kozlov
dbc9e4b50c
8253795: Implementation of JEP 391: macOS/AArch64 Port
...
8253816: Support macOS W^X
8253817: Support macOS Aarch64 ABI in Interpreter
8253818: Support macOS Aarch64 ABI for compiled wrappers
8253819: Implement os/cpu for macOS/AArch64
8253839: Update tests and JDK code for macOS/Aarch64
8254941: Implement Serviceability Agent for macOS/AArch64
8255776: Change build system for macOS/AArch64
8262903: [macos_aarch64] Thread::current() called on detached thread
Co-authored-by: Vladimir Kempik <vkempik@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Reviewed-by: erikj, ihse, prr, cjplummer, stefank, gziemski, aph, mbeckwit, luhenry
2021-03-25 18:10:18 +00:00
Aleksei Voitylov
133a63b4a1
8263968: CDS: java/lang/ModuleLayer.EMPTY_LAYER should be singleton
...
Reviewed-by: iklam, dholmes, alanb, redestad
2021-03-24 16:32:36 +00:00
Coleen Phillimore
5bc382fb7a
8263976: Remove block allocation from BasicHashtable
...
Reviewed-by: lfoltan, iklam
2021-03-23 12:11:26 +00:00
Jie Fu
7b81f8e34b
8263915: runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java fails when UseCompressedClassPointers is off
...
Reviewed-by: minqi
2021-03-23 07:51:58 +00:00
Ioi Lam
2b93ae0019
8261480: MetaspaceShared::preload_and_dump should check exceptions
...
Reviewed-by: dholmes, ccheung
2021-03-18 04:15:58 +00:00
Igor Ignatyev
d825198e55
8263556: remove @modules java.base
from tests
...
Reviewed-by: dcubed, naoto, iris
2021-03-15 17:05:28 +00:00
Ioi Lam
da9ead5e7f
8263399: CDS should archive only classes allowed by module system
...
Reviewed-by: ccheung, minqi
2021-03-14 06:01:57 +00:00
Igor Ignatyev
a7aba2b61c
8263549: 8263412 can cause jtreg testlibrary split
...
Reviewed-by: iklam, dcubed
2021-03-13 14:51:53 +00:00
Igor Ignatyev
0b68ced027
8263548: runtime/cds/appcds/SharedRegionAlignmentTest.java fails to compile after JDK-8263412
...
Reviewed-by: dcubed
2021-03-13 01:33:03 +00:00
Igor Ignatyev
e834f99d1d
8263412: ClassFileInstaller can't be used by classes outside of default package
...
Reviewed-by: iklam, coleenp, mseledtsov
2021-03-12 23:13:16 +00:00
Ioi Lam
0c8350edaf
8263460: DynamicArchiveRelocationTest.java fails in product VM
...
Reviewed-by: ccheung, dcubed
2021-03-12 21:45:01 +00:00
Coleen Phillimore
b932a62c44
8263470: Consolidate copies of getClassBytes in various tests
...
Reviewed-by: hseigel, stuefe, mseledtsov
2021-03-12 20:48:51 +00:00
Robbin Ehn
aa33443b53
8262454: Handshake timeout improvements, single target, kill unfinished thread
...
Reviewed-by: pchilanomate, dholmes, dcubed
2021-03-12 08:58:26 +00:00
Yumin Qi
3820ab9e82
8236847: CDS archive with 4K alignment unusable on machines with 64k pages
...
Reviewed-by: iklam, stuefe, erikj, ihse
2021-03-11 16:49:24 +00:00
Coleen Phillimore
57f16f9fe5
8262377: Parallel class resolution loses constant pool error
...
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: dholmes, iklam, hseigel, kvn
2021-03-10 20:58:18 +00:00
Calvin Cheung
9399e1b710
8261918: two runtime/cds/appcds/VerifierTest failed with "Unable to use shared archive"
...
Reviewed-by: iklam, minqi
2021-03-10 17:18:36 +00:00
Coleen Phillimore
4d21a455aa
8262913: KlassFactory::create_from_stream should never return NULL
...
Reviewed-by: hseigel, iklam
2021-03-10 14:15:32 +00:00
Ioi Lam
d8a9c3ca92
8263002: Remove CDS MiscCode region
...
Reviewed-by: coleenp, dholmes
2021-03-10 06:07:39 +00:00
Calvin Cheung
3212f80a80
8261937: LambdaForClassInBaseArchive: SimpleApp$$Lambda$1 missing
...
Reviewed-by: iklam, dcubed
2021-03-09 21:52:51 +00:00
Mikhailo Seledtsov
9221540e2a
8213269: convert test/hotspot/jtreg/runtime/memory/RunUnitTestsConcurrently to gtest
...
Reviewed-by: iignatyev, coleenp, stuefe
2021-03-08 20:09:59 +00:00
Ioi Lam
75a5be8ac5
8263054: [testbug] SharedArchiveConsistency.java reuses jsa files
...
Reviewed-by: dholmes, minqi
2021-03-06 08:55:42 +00:00
Calvin Cheung
02fbcb52b8
8261532: Archived superinterface class cannot be accessed
...
Reviewed-by: minqi, iklam
2021-03-04 19:57:48 +00:00
Harold Seigel
3d3eb5c8d3
8262368: wrong verifier message for bogus return type
...
Reviewed-by: dholmes, coleenp
2021-03-03 13:18:36 +00:00
Jiangli Zhou
9f0f0c9870
8260933: runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java fails without CompactStrings
...
Reviewed-by: iklam
2021-03-02 02:58:06 +00:00
Stefan Johansson
fe8e3707c5
8262188: Add test to verify trace page sizes logging on Linux
...
Reviewed-by: stuefe, tschatzl
2021-03-01 12:03:44 +00:00
Yang Yi
3a0d6a64bc
8262099: jcmd VM.metaspace should report unlimited size if MaxMetaspaceSize isn't specified
...
Reviewed-by: stuefe, lucy
2021-02-25 02:08:52 +00:00
Calvin Cheung
78cde64800
8261860: Crash caused by lambda proxy class loaded in Shutdown hook
...
Reviewed-by: iklam, minqi
2021-02-19 02:40:03 +00:00
Ioi Lam
d9744f6536
8261608: Move common CDS archive building code to archiveBuilder.cpp
...
Reviewed-by: coleenp, ccheung
2021-02-15 06:37:39 +00:00
Coleen Phillimore
ace8f94616
8195744: Avoid calling ClassLoader.checkPackageAccess if security manager is not installed
...
Reviewed-by: dholmes, iklam
2021-02-08 21:31:25 +00:00
Ioi Lam
c5ff454481
8250989: Consolidate buffer allocation code for CDS static/dynamic dumping
...
Reviewed-by: ccheung, coleenp
2021-02-07 07:10:38 +00:00
Calvin Cheung
0218917109
8258732: runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java fails
...
Reviewed-by: minqi, iklam
2021-02-05 17:23:48 +00:00
Calvin Cheung
55d62a5338
8213226: [TESTBUG] Reduce the usage of CDSTestUtils.executeAndLog()
...
Reviewed-by: iklam, minqi
2021-02-01 22:17:57 +00:00