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
David Holmes
b6a736738a
8260349: Cannot programmatically retrieve Metaspace max set via JAVA_TOOL_OPTIONS
...
Reviewed-by: shade, stuefe
2021-02-01 21:31:25 +00:00
Harold Seigel
181d63ffce
8260522: Clean up warnings in hotspot JTReg runtime tests
...
Reviewed-by: lfoltan, coleenp
2021-02-01 16:46:17 +00:00
Ralf Schmelter
d2b0ea1d01
8260282: Add option to compress heap dumps created by -XX:+HeapDumpOnOutOfMemoryError
...
Reviewed-by: cjplummer, stuefe
2021-01-29 13:53:40 +00:00
Harold Seigel
20e7df506f
8260466: Test TestHeapDumpOnOutOfMemoryError.java needs multiple @test sections
...
Reviewed-by: shade, lmesnik
2021-01-28 13:17:22 +00:00
Harold Seigel
e080ce9212
8252545: runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java timed out
...
Reviewed-by: stuefe, coleenp
2021-01-26 13:17:08 +00:00
Harold Seigel
f928265e81
8260009: InstanceKlass::has_as_permitted_subclass() fails if subclass was redefined
...
Reviewed-by: lfoltan, sspitsyn, dholmes
2021-01-22 13:52:05 +00:00
Daniel D. Daugherty
be57cf149e
8226416: MonitorUsedDeflationThreshold can cause repeated async deflation requests
...
Reviewed-by: dholmes, coleenp
2021-01-14 14:23:27 +00:00
Jesper Wilhelmsson
51e14f2e2a
Merge
2021-01-14 01:29:47 +00:00
Calvin Cheung
15dd8f3aa4
8259275: JRuby crashes while resolving invokedynamic instruction
...
Reviewed-by: iklam, minqi, lfoltan
2021-01-13 05:51:52 +00:00
Richard Reingruber
a6ab9e4740
8258576: Try to get zerobased CCS if heap is above 32 and CDS is disabled
...
Reviewed-by: mdoerr, stuefe
2021-01-12 08:35:12 +00:00
David Holmes
7e6677b532
8259446: runtime/jni/checked/TestCheckedReleaseArrayElements.java fails with stderr not empty
...
Reviewed-by: dcubed
2021-01-08 22:25:21 +00:00
David Holmes
712014c595
8258077: Using -Xcheck:jni can lead to a double-free after JDK-8193234
...
Reviewed-by: dcubed, hseigel
2021-01-08 04:11:22 +00:00
Daniel D. Daugherty
c0540ffda9
8231627: ThreadsListHandleInErrorHandlingTest.java fails in printing all threads
...
Reviewed-by: eosterlund, coleenp, pchilanomate, sspitsyn
2021-01-06 14:34:55 +00:00
Jesper Wilhelmsson
57217b58bf
Merge
2020-12-24 08:28:24 +00:00
Daniel D. Daugherty
8b37c2c58f
8257468: runtime/whitebox/TestWBDeflateIdleMonitors.java fails with Monitor should be deflated.: expected true to equal false
...
Reviewed-by: hseigel
2020-12-23 22:02:09 +00:00
Jesper Wilhelmsson
11bd7a814f
Merge
2020-12-17 03:04:19 +00:00
Calvin Cheung
b5a3a5b621
8258236: Segfault in ClassListParser::resolve_indy dumping static AppCDS archive
...
Reviewed-by: redestad, coleenp
2020-12-16 02:37:29 +00:00
David Holmes
1e77896838
8236225: Remove expired flags in JDK 17
...
8256717: Expire the long term obsoleted VM flags
Reviewed-by: coleenp, kvn
2020-12-16 00:00:12 +00:00
Coleen Phillimore
c37eabe73b
8252148: vmError::controlled_crash should be #ifdef ASSERT and move tests to gtest
...
Reviewed-by: iklam, stuefe
2020-12-15 20:48:18 +00:00
Yumin Qi
36e2097401
8255917: runtime/cds/SharedBaseAddress.java failed "assert(reserved_rgn != 0LL) failed: No reserved region"
...
Reviewed-by: ccheung, iklam, stuefe
2020-12-15 16:52:26 +00:00
Igor Ignatyev
3342ecaf44
8258054: runtime/sealedClasses/GetPermittedSubclassesTest.java fails w/ jdk17
...
Reviewed-by: mikael, hseigel, darcy
2020-12-10 18:16:33 +00:00
Joe Darcy
6be1f5671e
8257450: Start of release updates for JDK 17
...
8257451: Add SourceVersion.RELEASE_17
8257453: Add source 17 and target 17 to javac
Reviewed-by: dholmes, erikj, iris, mikael, jjg, jlahoda, jwilhelm, mchung, ihse
2020-12-10 16:46:28 +00:00
Harold Seigel
d33a689b96
8256867: Classes with empty PermittedSubclasses attribute cannot be extended
...
Reviewed-by: lfoltan, mchung, jlahoda, chegar
2020-12-09 19:07:11 +00:00
Dan Smith
48d8650ae1
8257845: Integrate JEP 390
...
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
Calvin Cheung
291ba97fab
8251267: CDS tests should use CDSTestUtils.getOutputDir instead of System.getProperty("user.dir")
...
Reviewed-by: minqi, iklam
2020-12-08 20:00:10 +00:00
Jan Lahoda
637b0c64b0
8246778: Compiler implementation for Sealed Classes (Second Preview)
...
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Reviewed-by: lfoltan, mchung, alanb, mcimadamore, chegar
2020-12-07 11:11:31 +00:00
Calvin Cheung
d8ac76fa09
8257651: LambdaEagerInit.java test failed in 2 different ways
...
Reviewed-by: iklam, lfoltan
2020-12-04 17:07:00 +00:00
Harold Seigel
e4497c9e69
8256718: Obsolete the long term deprecated and aliased Trace flags
...
Reviewed-by: sspitsyn, iklam, dholmes, coleenp
2020-12-03 13:14:57 +00:00
Richard Reingruber
4a267f1bc2
8244847: Linux/PPC: runtime/CompressedOops/CompressedClassPointers: smallHeapTest fails
...
Reviewed-by: stuefe, mdoerr
2020-12-03 08:50:08 +00:00
Calvin Cheung
3da30e991a
8257241: CDS should not handle disableEagerInitialization for archived lambda proxy classes
...
Reviewed-by: iklam, redestad, mchung
2020-12-02 22:17:46 +00:00
Yasumasa Suenaga
fb139cff1a
8257467: [TESTBUG] -Wdeprecated-declarations is reported at sigset() in exesigtest.c
...
Reviewed-by: dholmes, stuefe
2020-12-02 09:06:02 +00:00
Nils Eliasson
cfb175dfdf
8256508: Improve CompileCommand flag
...
Reviewed-by: redestad, kvn
2020-11-25 14:20:35 +00:00
Coleen Phillimore
1aa90ac629
8256822: runtime/logging/RedefineClasses.java fails with "Error: VM option 'Verbose' is develop and is available only in debug version of VM."
...
Reviewed-by: stuefe
2020-11-21 21:55:59 +00:00
Coleen Phillimore
e7c7469cf5
8246378: [Windows] assert on MethodHandle logging code
...
Reviewed-by: iklam, vlivanov
2020-11-20 13:00:10 +00:00
Dong Bo
b0b9dd27b8
8256318: AArch64: Add support for floating-point absolute difference
...
Reviewed-by: aph
2020-11-18 10:14:20 +00:00
Thomas Schatzl
d30956055b
8253081: G1 fails on stale objects in archived module graph in Open Archive regions
...
Change the handling of Open Archive areas, instead of assuming that everything in there is live always, a root containing references to all live root objects is provided. Adapt G1 to handle Open Archive regions as any other old region apart from never compacting or evacuating them.
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: kbarrett, sjohanss, redestad
2020-11-18 08:21:03 +00:00
Harold Seigel
56ea7864d4
8245215: Obsolete InitialBootClassLoaderMetaspaceSize and UseLargePagesInMetaspace
...
Reviewed-by: lfoltan, ccheung, stuefe, coleenp
2020-11-13 13:13:43 +00:00
Yumin Qi
1d3d64f34c
8255973: Add more logging to debug JDK-8255917
...
Reviewed-by: ccheung, stuefe, iklam
2020-11-13 03:44:41 +00:00
Calvin Cheung
c6ab0fdb15
8255990: Bitmap region of dynamic CDS archive is not unmapped
...
Reviewed-by: iklam, minqi
2020-11-12 16:14:29 +00:00
Daniel D. Daugherty
2e19026d45
8253064: monitor list simplifications and getting rid of TSM
...
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: eosterlund, rehn, coleenp
2020-11-11 16:20:11 +00:00
Ioi Lam
397bae20e9
8255860: Clean up CDS logging related to lambda
...
Reviewed-by: ccheung, minqi
2020-11-05 05:20:59 +00:00
Calvin Cheung
5348298f62
8255855: appcds/jigsaw/NewModuleFinderTest.java test failed due to unexpected NPE
...
Reviewed-by: iklam
2020-11-04 17:17:46 +00:00
Aleksey Shipilev
6d36b4bb79
8255743: Relax SIGFPE match in in runtime/ErrorHandling/SecondaryErrorTest.java
...
Reviewed-by: stuefe
2020-11-03 07:06:14 +00:00
Vladimir Kozlov
2f7d34f205
8255616: Disable AOT and Graal in Oracle OpenJDK
...
Reviewed-by: iignatyev, vlivanov, iveresov, ihse
2020-11-02 16:04:46 +00:00
Yumin Qi
9d5c9cc78b
8254309: appcds GCDuringDump.java failed - class must exist
...
Reviewed-by: ccheung, iklam
2020-10-31 00:08:37 +00:00
Calvin Cheung
36c150b199
8255489: Unify the parsing of @lambda-proxy and @lambda-form-invokers tags in a classlist
...
Reviewed-by: iklam, minqi
2020-10-30 22:01:59 +00:00
Vicente Romero
8bde2f4e3d
8255013: implement Record Classes as a standard feature in Java, follow-up
...
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: jlahoda
2020-10-28 17:18:46 +00:00
Harold Seigel
3bd5b80761
8243583: Change 'final' error checks to throw ICCE
...
Reviewed-by: lfoltan, dholmes
2020-10-28 12:32:45 +00:00
Thomas Stuefe
7d41a54188
8255450: runtime/ThreadCountLimit.java causes high system load
...
Reviewed-by: shade
2020-10-27 14:25:34 +00:00
Harold Seigel
18d9905c40
8255342
: Remove non-specified JVM checks on Classes with Record attributes
...
Reviewed-by: dholmes, coleenp
2020-10-27 12:23:14 +00:00
Thomas Stuefe
2ca7a08091
8255268: 32-bit failures in runtime/Metaspace/elastic
...
Reviewed-by: shade
2020-10-23 05:27:57 +00:00
Sergey Bylokhov
2e510e04bd
8255043: Incorrectly styled copyright text
...
Reviewed-by: dholmes, trebari, jdv
2020-10-21 04:53:16 +00:00
Thomas Stuefe
7ba6a6bf00
8251158: Implementation of JEP 387: Elastic Metaspace
...
Reviewed-by: lkorinth, coleenp, iklam, rrich
2020-10-20 06:48:09 +00:00
Calvin Cheung
74ac77e2b1
8247666: Support Lambda proxy classes in static CDS archive
...
Reviewed-by: iklam, mchung
2020-10-19 18:27:50 +00:00
Vicente Romero
1da28de82f
8255009: delta apply fixes for JDK-8246774 and JDK-8253455, pushed too soon
...
Reviewed-by: jlahoda
2020-10-19 15:55:54 +00:00
Vicente Romero
c17d58516f
8246774: implement Record Classes as a standard feature in Java
...
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Harold Seigel <hseigel@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: coleenp, jlahoda, sspitsyn, chegar
2020-10-18 18:54:33 +00:00
Jie Fu
f3ce45f2a1
8254799: runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java fails with release VMs
...
Reviewed-by: dholmes, dcubed, stuefe
2020-10-15 14:46:04 +00:00
Thomas Stuefe
ba140b0f11
8254748: Bad Copyright header format after JDK-8212218
...
Reviewed-by: shade, dholmes
2020-10-14 11:21:38 +00:00
Thomas Stuefe
dc262dfcbf
8212218: [TESTBUG] runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryErrorInMetaspace.java timed out
...
Reviewed-by: iklam, lmesnik
2020-10-14 09:37:54 +00:00
Aleksei Voitylov
63009f90ec
8247589: Implementation of Alpine Linux/x64 Port
...
Co-authored-by: Mikael Vidstedt <mikael@openjdk.org>
Co-authored-by: Alexander Scherbatiy <alexsch@openjdk.org>
Co-authored-by: Axel Siebenborn <asiebenborn@openjdk.org>
Co-authored-by: Aleksei Voitylov <avoitylov@openjdk.org>
Reviewed-by: alanb, erikj, dholmes
2020-10-13 09:35:58 +00:00
Yumin Qi
e49232a0d2
8254599: CDS dump should not warn about hidden classes
...
Reviewed-by: redestad, lfoltan, iklam
2020-10-13 04:05:21 +00:00
Yumin Qi
e4469d2c8c
8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
...
Reviewed-by: iklam, mchung
2020-10-10 02:06:52 +00:00
Igor Ignatyev
5a9bd41e79
8254102: use ProcessHandle::pid instead of ManagementFactory::getRuntimeMXBean to get pid in tests
...
Reviewed-by: rriggs, shade
2020-10-07 18:51:52 +00:00
Robbin Ehn
c9d0407e94
8253794: TestAbortVMOnSafepointTimeout never timeouts
...
Reviewed-by: pchilanomate, dcubed, mdoerr
2020-10-05 19:16:11 +00:00
Robbin Ehn
6bddeb709d
8238761: Asynchronous handshakes
...
Reviewed-by: pchilanomate, dcubed, dholmes, coleenp, sspitsyn
2020-09-29 08:50:54 +00:00
Aleksey Shipilev
c303fd5de9
8253581: runtime/stringtable/StringTableCleaningTest.java fails on 32-bit platforms
...
Reviewed-by: kbarrett, tschatzl
2020-09-24 09:19:40 +00:00
Alex Menkov
3320fc0f52
8253372: [TESTBUG] update tests which require jvmti - hotspot
...
Reviewed-by: sspitsyn, iklam
2020-09-23 21:11:31 +00:00
Ioi Lam
03a4df0acd
8244778: Archive full module graph in CDS
...
Reviewed-by: erikj, coleenp, lfoltan, redestad, alanb, mchung
2020-09-13 14:45:12 +00:00
Calvin Cheung
e20004d7c1
8249625: cleanup unused SkippedException in the tests under cds/appcds/dynamicArchive/methodHandles
...
Reviewed-by: iklam
2020-09-08 19:00:50 +00:00
Christoph Langer
cc5039e19e
8252837: Cleanup SAP Copyright file headers
...
Reviewed-by: dholmes
2020-09-07 07:30:10 +00:00
Igor Ignatyev
4fe6a3da68
8252532: use Utils.TEST_NATIVE_PATH instead of System.getProperty("test.nativepath")
...
Reviewed-by: dholmes, sspitsyn
2020-09-01 17:23:00 -07:00
Gerard Ziemski
b3e264187a
8222671: thread_large/thread_large.java times out on MacOSX
...
Removed unreliable test, and replaced it with more robust one
Reviewed-by: dholmes, iignatyev
2020-09-01 14:36:59 -05:00
Calvin Cheung
0e42d5c4ae
8251860: ClassLoaderData::loaded_classes_do fails with "assert(ZAddress::is_marked(addr)) failed: Should be marked"
...
Call ClassLoaderDataGraph::loaded_cld_do to collect ClassLoaderData in a GrowableArray and then walk through them to link the classes in each ClassLoaderData.
Reviewed-by: coleenp, iklam
2020-09-01 15:42:30 +00:00
Coleen Phillimore
b978ebee46
8244386: convert runtime/Safepoint/AssertSafepointCheckConsistency tests to gtest
...
Reviewed-by: stuefe, lfoltan, dcubed
2020-08-26 07:55:05 -04:00
Kim Barrett
52117c6f62
8251850: Refactor ResourceMark and DeoptResourceMark for better code sharing
...
Move saved state to ResourceArea, merge most of marks into shared helper.
Reviewed-by: stuefe, iklam, tschatzl, xliu, vlivanov
2020-08-25 22:17:04 -04:00
Patricio Chilano Mateo
e56002c7d3
8242263: Diagnose synchronization on primitive wrappers
...
Added diagnostic flag DiagnoseSyncOnPrimitiveWrappers
Reviewed-by: dholmes, mdoerr, dcubed, coleenp, egahlin, mgronlun
2020-08-21 15:04:02 +00:00
Harold Seigel
5732032707
8251414: Add test that invokeinterface of a protected method in java.lang.Object throws NoSuchMethodError
...
Add the missing test cases to existing test InterfaceObjectTest.java
Reviewed-by: lfoltan, coleenp
2020-08-14 15:42:09 +00:00
Ioi Lam
178eea6065
8249276: CDS archived objects must have "neutral" markwords
...
Reviewed-by: coleenp, dholmes
2020-08-11 22:05:56 -07:00
Ioi Lam
c1093dc244
8251213: [TESTBUG] CDS tests shouldn't write output files into test.classes directory
...
Reviewed-by: minqi, ccheung
2020-08-09 20:56:04 -07:00
Thomas Stuefe
6df465de73
8251257: NMT: jcmd VM.native_memory scale=1 crashes target VM
...
Reviewed-by: zgu, dholmes
2020-08-09 09:20:02 +02:00
David Holmes
6b8c16cf41
8248906: runtime/Thread/ThreadObjAccessAtExit.java fails due to OutOfMemoryErrors
...
Reviewed-by: mdoerr
2020-08-04 21:11:45 -04:00
Calvin Cheung
d7c7f70a6a
8249586: Test runtime/cds/appcds/DirClasspathTest.java will fail if run twice
...
Add the StandardCopyOption.REPLACE_EXISTING option when calling Files.copy().
Reviewed-by: iklam
2020-08-04 19:17:31 +00:00
Andrei Pangin
a72a8984a9
8249719: MethodHandle performance suffers from bad ResolvedMethodTable hash function
...
Reviewed-by: simonis, stuefe, coleenp
2020-07-24 15:33:38 +03:00
Yumin Qi
4b076cb93f
8249624: update appcds/sharedStrings/IncompatibleOptions test in view of 8081416 closed as WNF
...
With CDS can archive with compressed oops off, the result of the test gives correct information.
Reviewed-by: iklam, dholmes
2020-07-24 10:29:27 -07:00
Harold Seigel
890ca6ea2c
8222582: [TESTBUG] AbstractMethodErrorTest.java fails with "did not test both cases (interpreted and compiled)."
...
Exclude the test from running with Graal
Reviewed-by: dholmes, coleenp
2020-07-24 12:40:41 +00:00
David Holmes
1b1c1cd7b9
8249940: Remove unnecessary includes of jni_util.h in native tests
...
Reviewed-by: iignatyev, mchung
2020-07-23 00:47:02 -04:00
Kim Barrett
a8d6a05ce8
8248391: Unify handling of all OopStorage instances in weak root processing
...
OopStorage instance now owned by subsystems, and generalize dead entry notification
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: coleenp, tschatzl
2020-07-16 17:41:14 -04:00
Mikael Vidstedt
1f5e21a16e
Merge
2020-07-15 21:24:39 -07:00
Goetz Lindenmaier
8906904591
8248476: No helpful NullPointerException message after calling fillInStackTrace
...
Reported by christoph.dreis@freenet.de
Reviewed-by: coleenp, dholmes, mchung
2020-07-15 18:47:47 +02:00
Igor Ignatyev
04280a0d05
8249000: vm.gc.X should take selected JIT into account
...
Reviewed-by: kvn
2020-07-10 11:52:35 -07:00
Calvin Cheung
ddcb17e1e0
8248112: array index out of bound in FileMapInfo::check_paths
...
Check runtime classpath lengths after calling create_path_array().
Reviewed-by: iklam, minqi
2020-07-07 22:47:59 +00:00
Goetz Lindenmaier
bf1e6903a2
8233014: Enable ShowCodeDetailsInExceptionMessages by default
...
Reviewed-by: coleenp, stuefe, dholmes
2020-06-18 22:03:18 +02:00
Calvin Cheung
3237e82b4b
8247526: [TESTBUG] runtime/cds/appcds/dynamicArchive tests failing with Graal
...
Adjusted the "shouldMatch" statement and increased the timeout of some tests.
Reviewed-by: iklam
2020-06-16 22:05:09 +00:00
Yumin Qi
5073b8c163
8247528: runtime/cds/appcds/jigsaw/modulepath/OptimizeModuleHandlingTest.java failing with Graal
...
OptimizeModuleHandlingTest.java should be disabled for jvmci since jvmci will set jdk.module.addmods.0=jdk.internal.vm.ci which lead to optimization disabled.
Reviewed-by: dcubed
2020-06-16 08:03:40 -07:00
Jie Fu
ca85c5ab15
8247522: assert(is_aligned(class_space_rs.base(), class_space_alignment)) failed: Sanity
...
Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: stuefe, iklam
2020-06-13 23:10:26 +08:00
Calvin Cheung
30ff2ad58c
8246382: assert in MetaspaceShared::map_archives
...
Perform base archive header CRC check earlier.
Reviewed-by: iklam, coleenp
2020-06-11 15:47:36 +00:00
Thomas Stuefe
2085fd32ff
8247252: TestCombinedCompressedFlags.java failed src/hotspot/share/services/virtualMemoryTracker.cpp:388 Error: ShouldNotReachHere()
...
Reviewed-by: minqi, dholmes
2020-06-11 12:51:09 +02:00
Yumin Qi
96fadefaa3
8240245: Avoid calling is_shared_class_visible() in SystemDictionary::load_shared_class()
...
SystemDitionary::load_shared_class can avoid calling is_shared_class_visible if dumptime and runtime do not use modulepath and boot classpath appending.
Reviewed-by: iklam, ccheung
2020-06-10 23:16:27 -07:00
Igor Ignatyev
e47b2bc8c3
8246387: switch to jtreg 5.1
...
Reviewed-by: dholmes, erikj
2020-06-10 10:47:40 -07:00
Calvin Cheung
847a3baca8
8198698: Support Lambda proxy classes in dynamic CDS archive
...
Added archving of hidden classes of type lambda proxy classes.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: mchung, iklam, dholmes
2020-06-10 15:50:26 +00:00
Stefan Karlsson
8e865fc569
8246926: Clean up newlines and whitespaces in hs_err files
...
Reviewed-by: dholmes, eosterlund, iklam
2020-06-10 08:58:43 +02:00
Patric Hedlin
201d0a48d1
8246689: Enable independent compressed oops/class ptrs on Aarch64
...
Reviewed-by: eosterlund
2020-06-08 13:57:55 +02:00
Igor Ignatyev
dc91b06661
8244614: cleanup keywords used/available in hotspot testbase
...
Reviewed-by: coleenp, mseledtsov
2020-06-08 21:27:22 -07:00
Coleen Phillimore
cb960ee7b5
8245487: Potential double-free of interfaces array
...
Free _local_interfaces when we free _transitive_interfaces since they can share memory.
Reviewed-by: fparain, lfoltan, iklam
2020-06-05 06:54:05 -04:00
Daniel D. Daugherty
7436ef236e
8246476: remove AsyncDeflateIdleMonitors option and the safepoint based deflation mechanism
...
Reviewed-by: dholmes, pchilanomate, coleenp
2020-07-13 16:36:01 -04:00
Mikael Vidstedt
09510a15a1
Merge
2020-07-10 23:12:29 -07:00
Calvin Cheung
dc74336a65
8243586: Optimize calls to SystemDictionaryShared::define_shared_package for classpath
...
Define_shared_package only needs to be called once for each package in a jar specified in the shared class path.
Reviewed-by: iklam, dholmes, minqi
2020-07-01 21:05:14 +00:00
Harold Seigel
eb78035d05
8247741: Test test/hotspot/jtreg/runtime/7162488/TestUnrecognizedVmOption.java fails when -XX:+IgnoreUnrecognizedVMOptions is set
...
Use createJavaProcessBuilder() to prevent JTreg flags from being passed to the new process created by the test
Reviewed-by: lfoltan, dholmes
2020-07-01 18:42:13 +00:00
Calvin Cheung
a0a0539b0d
8248112: array index out of bound in FileMapInfo::check_paths
...
Check runtime classpath lengths after calling create_path_array().
Reviewed-by: iklam, minqi
2020-06-26 19:26:30 +00:00
Harold Seigel
51ddc2adbf
8246337: Add more JVM tests for sealed classes
...
Add missing test cases for sealed interfaces and sealed classes.
Reviewed-by: dholmes, lfoltan
2020-06-26 12:38:00 +00:00
Daniel D. Daugherty
3e4ad5d8d1
8246477: add whitebox support for deflating idle monitors
...
Reviewed-by: dholmes, eosterlund
2020-06-24 17:48:53 -04:00
Ioi Lam
1e45eb3b13
8248235: appcds/jigsaw/PatchModule/Simple.java failed when running in dynamic CDS mode
...
Reviewed-by: minqi
2020-06-24 13:52:01 -07:00
Harold Seigel
112a4bd8bc
8247966: runtime/logging/loadLibraryTest/LoadLibraryTest.java failed "RuntimeException: 'Unloaded library with handle' missing from stdout/stderr"
...
Make sure the native library is unloaded before exiting the main thread.
Reviewed-by: dcubed, dholmes
2020-06-24 12:34:14 +00:00
Ioi Lam
27fc8b6787
8246546: Simplify SystemDictionary::is_shared_class_visible
...
Reviewed-by: minqi, ccheung
2020-06-23 21:23:00 -07:00
Jesper Wilhelmsson
4862d0d542
Merge
2020-06-22 18:23:49 +02:00
Jesper Wilhelmsson
6d2959b393
Merge
2020-06-17 05:28:05 +02:00
Jesper Wilhelmsson
e33ebc7f0a
Merge
2020-06-16 04:20:30 +02:00
Ioi Lam
c82c50b2a2
8245925: G1 allocates EDEN region after CDS has executed GC
...
Reviewed-by: jiangli, minqi, tschatzl
2020-06-14 01:19:48 -07:00
Calvin Cheung
0e4829ef0a
8245060: remove copying of s.h.WB$WhiteBoxPermission in cds/appcds tests
...
Reviewed-by: dholmes, minqi, iklam
2020-06-12 16:48:27 +00:00
Joe Darcy
a5b5712733
8235496: Start of release updates for JDK 16
...
8245585: Add SourceVersion.RELEASE_16
8245586: Add source 16 and target 16 to javac
8245544: com/sun/tools/javac/platform/JDKPlatformProvider.java does not support ct.sym with platform versions 16+
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: erikj, dholmes, ihse, neugens, jjg, jlahoda, jlaskey, mikael
2020-06-07 20:02:03 -07:00
Ioi Lam
f39a71cafe
8243506: SharedBaseAddress is ignored by -Xshare:dump
...
Reviewed-by: stuefe, ccheung
2020-06-02 01:08:44 -07:00
Daniel D. Daugherty
00f223e22f
8153224: Monitor deflation prolong safepoints
...
Add support for AsyncDeflateIdleMonitors (default true); the async deflation work is performed by the ServiceThread.
Co-authored-by: Carsten Varming <varming@gmail.com>
Reviewed-by: dcubed, rehn, rkennke, cvarming, coleenp, acorn, dholmes, eosterlund
2020-06-01 23:37:14 -04:00
Vicente Romero
d42bfef8a4
8227046: compiler implementation for sealed classes
...
8225056: VM support for sealed classes
8227044: javax.lang.model for sealed classes
8227045: Preview APIs support for sealed classes
8227047: Javadoc for sealed types
8245854: JVM TI Specification for sealed classes
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, forax, darcy, dholmes, jlahoda, lfoltan, mchung, sspitsyn, vromero
2020-06-01 17:00:40 -04:00
David Holmes
686ca5ae49
8243936: NonWriteable system properties are actually writeable
...
Reviewed-by: iklam, dcubed
2020-05-28 02:58:56 -04:00
Stefan Johansson
2ff952bf32
8245723: Remove PrintCompressedOopsMode and change gc+heap+coops info log to debug level
...
Reviewed-by: dholmes, coleenp, tschatzl
2020-05-27 11:48:13 +02:00
Coleen Phillimore
6aa15ad7ab
8166358: Re-enable String verification in java_lang_String::create_from_str()
...
Check for invalid strings in class names in debug mode, and only verify valid strings in create_for_str().
Reviewed-by: dholmes, hseigel
2020-05-26 09:44:17 -04:00
Jie Fu
039b259e94
8245761: [TESTBUG] runtime/logging/TestMethodHandlesVerbose.java fails with release VMs
...
Reviewed-by: dholmes
2020-05-26 09:18:27 +08:00
Christian Hagedorn
9b94b9d1a1
8244946: fatal error: memory leak: allocating without ResourceMark with -XX:+Verbose -Xlog:methodhandles
...
Fix crash due to a missing ResourceMark when logging methodhandles with Verbose.
Reviewed-by: dcubed, dholmes, coleenp
2020-05-25 11:34:11 +02:00
Thomas Stuefe
04e6b743db
8243392: Remodel CDS/Metaspace storage reservation
...
Reviewed-by: iklam, coleenp, ngasson, aph
2020-05-24 19:25:29 +02:00
Ioi Lam
7d330d34f1
8245335: [TESTBUG] DeterministicDump.java fails with release JVM
...
Reviewed-by: stuefe, dholmes, jiefu
2020-05-21 15:56:27 -07:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Coleen Phillimore
60728a487c
8242424: Deprecate InitialBootClassLoaderMetaspaceSize
...
8243147: Deprecate UseLargePagesInMetaspace
Mark these options for deprecation
Reviewed-by: stuefe, dcubed
2020-05-18 11:31:16 -04:00
Martin Doerr
76b76654d2
8235673: [C1, C2] Split inlining control flags
...
Reviewed-by: neliasso, kvn, thartmann
2020-05-18 10:57:16 +02:00
Ioi Lam
d5bd523869
8244536: cds/DeterministicDump.java failed: File content different
...
Reviewed-by: ccheung, stuefe
2020-05-17 15:10:06 -07:00
Claes Redestad
a09720f2ee
8232213: runtime/MemberName/MemberNameLeak.java fails intermittently
...
Reviewed-by: dcubed, coleenp
2020-05-16 01:35:38 +02:00
Calvin Cheung
71cc95e4b1
8243947: [TESTBUG] hotspot/jtreg:hotspot_appcds_dynamic fails when the JDK doesn't have default CDS archive
...
Generate a default CDS archive when necessary before running AppCDS dynamic tests.
Reviewed-by: iklam
2020-05-14 20:34:18 +00:00
David Holmes
17dd7dc38c
8240588: _threadObj cannot be used on an exiting JavaThread
...
Reviewed-by: rehn, dcubed, kbarrett
2020-05-13 22:29:54 -04:00
Patricio Chilano Mateo
398a2b3c37
8231264: Implementation of JEP 374: Disable biased-locking and deprecate all flags related to biased-locking
...
Changed default value of UseBiasedLocking to false and deprecated related flags.
Reviewed-by: dholmes, dcubed
2020-05-13 15:47:10 +00:00
Erik Österlund
382e5dc334
8241825: Make compressed oops and compressed class pointers independent (x86_64, PPC, S390)
...
Reviewed-by: coleenp, fparain, stuefe, mdoerr
2020-05-13 09:36:12 +00:00
Zhengyu Gu
0cf828153c
8241086: Test runtime/NMT/HugeArenaTracking.java is failing on 32bit Windows
...
Reviewed-by: stuefe
2020-05-06 16:02:10 -04:00
Igor Ignatyev
9f86d94580
8244491: make runtime/cds/appcds/TestZGCWithCDS.java test more robust
...
Reviewed-by: dholmes
2020-05-05 18:02:11 -07:00
Igor Ignatyev
bc8065facd
8244485: runtime/cds/appcds/TestZGCWithCDS.java fails after 8244385
...
Reviewed-by: dcubed
2020-05-05 14:55:23 -07:00
Ioi Lam
eadcb08c3c
8241071: Generation of classes.jsa with -Xshare:dump is not deterministic
...
Reviewed-by: dholmes, stuefe
2020-05-05 11:10:02 -07:00
Igor Ignatyev
c976be69c3
8244385: various clean-ups in runtime tests
...
Reviewed-by: minqi
2020-05-05 09:27:22 -07:00
Stefan Karlsson
81597d9f8f
8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
...
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Igor Ignatyev
bcf3ae8245
8244142: some hotspot/runtime tests don't check exit code of forked JVM
...
Reviewed-by: gziemski, minqi
2020-04-29 19:55:52 -07:00
Igor Ignatyev
47c30dbc16
8244141: use @requires and SkippedException in some hotspot/runtime tests
...
Reviewed-by: minqi, gziemski
2020-05-02 07:17:20 -07:00
Yumin Qi
832272da71
8178349: Cache builtin class loader constraints to avoid re-initializing itable/vtable for shared classes
...
Record loader constraints for built-in class which is loaded by app loader or platform loader in shared archive in dump time. When the class loaded from shared archive at runtime, directly check loader constraints using the saved info so avoid lengthy relayout i/v-table at class link stage.
Reviewed-by: iklam, ccheung
2020-05-01 10:58:45 -07:00
David Holmes
a0d04ad0ae
8244173: Uncomment subtest in runtime/InvocationTests/invocationC1Tests.java
...
Reviewed-by: hseigel, iignatyev
2020-04-30 19:18:28 -04:00
Igor Ignatyev
46fe7e303b
8243945: use driver mode in runtime tests
...
Reviewed-by: dholmes, dcubed, gziemski
2020-04-29 19:51:45 -07:00
Stefan Karlsson
35af52dd4f
8244010: Simplify usages of ProcessTools.createJavaProcessBuilder in our tests
...
Reviewed-by: lmesnik, iignatyev, coleenp, dholmes
2020-04-29 08:52:18 +02:00
Igor Ignatyev
a9d14e1462
8243944: use SkippedException and @requires in runtime/memory/ReadFromNoaccessArea.java test
...
Reviewed-by: minqi
2020-04-28 21:17:32 -07:00
Igor Ignatyev
70e632d5ec
8243935: remove copying of s.h.WB$WhiteBoxPermission in hotspot tests
...
Reviewed-by: dholmes, stefank
2020-04-28 19:57:02 -07:00
Harold Seigel
941643ece9
8242921: test/hotspot/jtreg/runtime/CompactStrings/TestMethodNames.java uses nashorn script engine
...
Put method names in a .jcod file instead of using nashorn to generate them
Reviewed-by: lfoltan, coleenp
2020-04-28 14:13:44 +00:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Claes Redestad
d185fe9953
8242452: During module definition, move conversion of packages from native to VM
...
8242290: Pointless verification in get_package_entry_by_name
Reviewed-by: lfoltan, iklam, hseigel
2020-04-18 19:45:45 +02:00
Lois Foltan
d37985cd70
8210012: Implement Unified Logging Option for -XX:+TraceMethodHandles and -XX:+TraceInvokeDynamic
...
Transition the tracing method handles command line options to unified logging, -Xlog:methodhandles.
Reviewed-by: dholmes, iklam, jrose
2020-04-15 21:01:02 +00:00
Igor Ignatyev
c73934d8c8
8242311: use reproducible random in hotspot runtime tests
...
Reviewed-by: iklam, mseledtsov
2020-04-13 12:32:57 -07:00
Roger Riggs
3cf922b3d1
8242462: Residual Cleanup of rmic removal
...
Reviewed-by: jjg, amlu, erikj, iignatyev, mseledtsov
2020-04-10 16:33:56 -04:00
Patricio Chilano Mateo
89a33e69a7
8240918: [REDO] Allow direct handshakes without VMThread intervention
...
REDO of 8230594
Reviewed-by: dholmes, rehn, mdoerr, coleenp, dcubed
2020-04-08 18:32:21 +00:00
Per Lidén
2e4783411e
8240745: Implementation: JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production)
...
Reviewed-by: stefank, eosterlund
2020-04-03 23:40:33 +02:00
Claes Redestad
0d22ad6400
8241427: Coarsen locking in Modules::add_module_exports
...
Reviewed-by: lfoltan, hseigel
2020-03-26 00:02:08 +01:00
Aleksey Shipilev
27ef185bae
8241500: FieldLayout/OldLayoutCheck.java fails in 32-bit VMs
...
Reviewed-by: fparain, dholmes
2020-03-25 07:58:17 +01:00
Yumin Qi
37b7a23317
8241009: CommandLineFlagComboNegative.java fails after JDK-8240563
...
Jtreg turned off UseCompressedOops and messed up vm flag options of children processes.
Reviewed-by: dholmes, stefank
2020-03-20 09:40:30 -07:00
Vladimir Kozlov
6083173f9b
8237045: JVM uses excessive memory with -XX:+EnableJVMCI -XX:JVMCICounterSize=2147483648
...
Limit JVMCICounterSize flag's value range to 1M
Reviewed-by: thartmann, redestad
2020-03-17 12:42:48 -07:00
Yumin Qi
90a39195c1
8240563: [TESTBUG] WB_IsCDSIncludedInVmBuild should support uncompressed oops/klasses
...
With 8232069, CDS works with uncompressed oops/kalsses, detecting CDS code no longer bases on the two flags.
Reviewed-by: iklam
2020-03-12 09:07:11 -07:00
Ioi Lam
b0f32c4431
8240548: [TESTBUG] CDS NoClassToArchive.java fails with Graal
...
Reviewed-by: dholmes, mchung
2020-03-11 21:37:45 -07:00
Calvin Cheung
9e2ab1e363
8232081: Try to link all classes during dynamic CDS dump
...
During CDS dynamic dump, link all classes loaded by the builtin class loaders in JVM_BeforeHalt() and JavaThread::invoke_shutdown_hooks().
Reviewed-by: iklam, dholmes
2020-03-06 15:33:13 -08:00
Matthias Baesken
f10fd7a78e
8240603: Windows 32bit compile error after 8238676
...
Reviewed-by: clanger, dholmes
2020-03-05 13:12:51 +01:00
Yumin Qi
6cb2e02af6
8240546: runtime/cds/appcds/TestZGCWithCDS.java fails with Graal
...
Test failed since Graal does not work with ZGC, fixed in test to skip Graal if ZGC.
Reviewed-by: ccheung
2020-03-04 21:29:14 -08:00
Alexey Bakhtin
8e74ed46df
8239787: AArch64: String.indexOf may incorrectly handle empty strings
...
Reviewed-by: aph, lmesnik, yan
2020-03-03 13:06:50 +03:00
David Holmes
c42de93347
8238676: jni crashes on accessing it from process exit hook
...
Reviewed-by: fparain, gziemski
2020-03-02 19:49:42 -05:00
Mikhailo Seledtsov
35ee1cb2b3
8236938: [TESTBUG] JFR event MetaspaceAllocationFailure is not tested
...
New test for MetaspaceAllocationFailure
Reviewed-by: hseigel, stuefe
2020-03-02 12:16:18 -08:00
Harold Seigel
6bb0536293
8239568: [TESTBUG] LoadLibraryTest.java fails with RuntimeException
...
Throw jtreg.SkippedException instead of failing if shared library isn't unloaded
Reviewed-by: coleenp, lmesnik
2020-03-02 16:10:01 +00:00
Kun Wang
742bdf003e
8239915: Zero VM crashes when handling dynamic constant
...
Reviewed-by: dholmes
2020-02-26 17:32:04 +08:00
Daniel D. Daugherty
882633a738
8239873: [TESTBUG] FieldLayout/OldLayoutCheck.java fails after the fix for JDK-8239503
...
Don't run the test with -XX:-UseCompressedOops.
Reviewed-by: fparain, hseigel
2020-02-27 11:34:48 -05:00
Fairoz Matte
956e20ed16
8239557: [TESTBUG] VeryEarlyAssertTest.java validating "END." marker at lastline is not always true
...
Reviewed-by: dholmes, mseledtsov
2020-02-24 23:44:29 -05:00
Richard Reingruber
bc87e7829e
8239449: [TESTBUG] test/hotspot/jtreg/runtime/TLS/TestTLS.java: skip test if glibc too old for AdjustStackSizeForTLS
...
Reviewed-by: dholmes, jiangli
2020-02-24 14:25:35 +01:00
Per Lidén
35db376986
8239503: FieldLayout/OldLayoutCheck.java fails due to "RuntimeException: Misplaced int field: expected 24 to equal 12"
...
Don't run the test with ZGC.
Reviewed-by: dcubed, coleenp, dholmes
2020-02-20 23:07:02 -05:00
Coleen Phillimore
b4ffe4d8f7
8239461: Use jcod rather than jar files in runtime tests
...
Reviewed-by: hseigel, lmesnik, dholmes
2020-02-20 07:25:14 -05:00
Frederic Parain
8827df9b2d
8239014: -XX:-UseEmptySlotsInSupers sometime fails to reproduce the layout of the old code
...
Reviewed-by: dholmes, coleenp
2020-02-19 08:57:43 -05:00
Harold Seigel
bf6c14f034
8187305: Add logging for shared library loads/unloads
...
Add logging to JVM_LoadLibrary(), JVM_UnloadLibrary(), and JVM_FindLibraryEntry().
Reviewed-by: dholmes, coleenp
2020-02-18 16:30:54 +00:00
Richard Reingruber
eaff9918d2
8239005: [TESTBUG] test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPages.java: exeinvoke.c: must initialize static state before calling do_overflow()
...
Reviewed-by: dholmes, clanger
2020-02-13 16:20:14 +01:00
Jose Ziviani
b72e31b39f
8235791: [TESTBUG] Fix comment in TestElfDirectRead.java
...
Reviewed-by: dholmes, iklam
2020-02-13 16:01:46 -05:00
Harold Seigel
d298a05d02
8238175: CTW: Class.getDeclaredMethods fails with assert(k->is_subclass_of(SystemDictionary::Throwable_klass())) failed: invalid exception class
...
Replace the assert with a logging message saying that the class is not a subclass of java.lang.Throwable
Reviewed-by: dholmes, coleenp
2020-02-13 15:43:59 +00:00
Yumin Qi
c37ebcd730
8232069: Enable CDS even when UseCompressedClassPointers and/or UseCompressedOops are false
...
Fix to save UseCompressedOops and UseCompressedClassPointers in shared archive and at runtime run with CDS only if they are matched the stored versions.
Reviewed-by: iklam, ccheung
2020-02-11 12:16:23 -08:00
David Holmes
983fc23fd1
8236844: Deprecate PrintVMQWaitTime to prepare for its removal
...
Reviewed-by: rehn, coleenp, hseigel
2020-02-10 19:58:04 -05:00
Frederic Parain
9886cb401c
8237767: Field layout computation overhaul
...
Reviewed-by: dholmes, coleenp, lfoltan, shade
2020-02-10 09:49:12 -05:00
David Holmes
9f21d809ab
8238460: Provide warnings about the use of JNI RegisterNatives to rebind native methods for boot/platform classes in other classloaders
...
Reviewed-by: jwilhelm, lfoltan
2020-02-06 21:03:40 -05:00
Mikhailo Seledtsov
ccb4ab5499
8179317: [TESTBUG] rewrite runtime shell tests in java
...
Converted shell tests to Java
Reviewed-by: dholmes, iignatyev, lmesnik
2020-02-05 07:31:13 -08:00
Ioi Lam
f6eaac48b8
8238198: Avoid using @ tags in TestOptionsWithRanges_generate.sh
...
Reviewed-by: iignatyev
2020-01-31 14:18:30 -08:00
Nick Gasson
987ba9f3a4
8237521: Memory Access API fixes for 32-bit
...
Reviewed-by: mcimadamore, dholmes
2020-01-24 17:41:44 +08:00
Ioi Lam
73cdeafe98
8237046: [TESTBUG] runtime/CommandLine/OptionsValidation/TestOptionsWithRanges_generate.sh should be excluded from testing
...
Reviewed-by: dcubed, mseledtsov
2020-01-29 12:01:31 -08:00
Jesper Wilhelmsson
efa4d2f9e1
Merge
2020-01-28 07:25:31 +01:00
David Holmes
8c33bba226
8237918: Bad copyright line in a hotspot test
...
Reviewed-by: jjg
2020-01-27 20:01:35 -05:00
Patricio Chilano Mateo
5e9d3fdc9c
8237756: Backout: JDK-8230594: Allow direct handshakes without VMThread intervention
...
Backout JDK-8230594
Reviewed-by: coleenp, dcubed
2020-01-23 17:26:52 +00:00
Ioi Lam
d5bdb76e84
8236236: Eliminate CDS md region and consolidate c++ vtable patching code
...
Reviewed-by: ccheung
2020-01-22 11:52:27 -08:00
Patricio Chilano Mateo
b25bb17b41
8230594: Allow direct handshakes without VMThread intervention
...
Introduce direct handshakes and enable it for biased locking revocations.
Reviewed-by: dholmes, dcubed, coleenp, rehn
2020-01-22 16:46:46 +00:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Chris Hegarty
eec0e71c04
8235550: Clarify record reflective support specification
...
Reviewed-by: mcimadamore
2019-12-10 19:12:57 +00:00
Coleen Phillimore
65354d838a
8236901: 8232759 missed a test case
...
Use jcmd GC.class-histogram because it also works for verifying that the classes are loaded.
Reviewed-by: dholmes, mseledtsov, iklam
2020-01-17 06:56:29 -05:00
Igor Ignatyev
e2240b714e
8236111: narrow allowSmartActionArgs disabling
...
Reviewed-by: dholmes, mullan, darcy, rriggs
2020-01-15 21:20:40 -08:00
Coleen Phillimore
c4b8e38de4
8236224: Obsolete the FieldsAllocationStyle and CompactFields options
...
Remove the options and code for options deprecated in JDK 14
Reviewed-by: dholmes, hseigel, fparain
2020-01-07 13:11:35 -05:00
Ioi Lam
d1ad0eaf8f
8233826: Change CDS dumping tty->print_cr() to unified logging
...
Reviewed-by: coleenp, dholmes, jiangli
2019-12-19 23:04:49 -08:00
Nick Gasson
aea0a57512
8234794: AArch64: runtime/memory/ReadFromNoaccessArea.java crashes
...
Try to map CDS shared space at 4G aligned address on AArch64
Reviewed-by: adinn, aph, jiangli, iklam
2019-12-19 09:47:33 +08:00
Calvin Cheung
fae788a200
8235563: [TESTBUG] appcds/CommandLineFlagComboNegative.java does not handle archive mapping failure
...
Use the assertAbnormalExit method of the CDSTestUtils.Result class to handle archive mapping failure.
Reviewed-by: iklam
2019-12-17 16:46:37 -08:00
Ioi Lam
83cb7044e9
8236028: [TESTBUG] Remove dependency of sun.tools.jar from appcds/JarBuilder
...
Reviewed-by: ccheung
2019-12-16 21:24:00 -08:00
Thomas Schatzl
bc97279caf
8235907: Fix tests referencing UseParallelOldGC
...
Remove tests using the obsolete UseParallelOldGC flag.
Reviewed-by: lkorinth, dlong
2019-12-16 23:07:37 +01:00