Thomas Stuefe
6d4de736d8
8214975: No hs-err file if fatal error is raised during dynamic initialization
...
Reviewed-by: dholmes, dcubed
2018-12-08 12:09:59 +01:00
Daniel D. Daugherty
73733d6a18
8217659: monitor_logging updates from Async Monitor Deflation project
...
Reviewed-by: dholmes, coleenp, rehn
2019-01-31 11:19:58 -05:00
Daniel D. Daugherty
2d9925782f
8217658: baseline_cleanups from Async Monitor Deflation project
...
Baseline_cleanups from Async Monitor Deflation project plus a couple of misc others.
Reviewed-by: dholmes, rehn
2019-01-29 14:09:38 -05:00
Lois Foltan
4c63f4d399
8216970: condy causes JVM crash
...
Fix issue with ConstantPool::constant_tag_at to correctly handle a condy whose return type is an array.
Reviewed-by: acorn, hseigel, jrose
2019-01-29 11:56:51 -05:00
Goetz Lindenmaier
87a26ed29d
8217628: Verbose ArrayIndexOutOfBoundsException message also in JNI calls
...
Reviewed-by: mdoerr, dholmes, lfoltan
2019-01-29 08:43:33 +01:00
Jesper Wilhelmsson
e3621e678a
Merge
2019-01-28 21:44:57 +01:00
Aleksey Shipilev
12e769ad5a
8217854: [TESTBUG] runtime/CompressedOops/UseCompressedOops.java fails with Shenandoah
...
Reviewed-by: dcubed, zgu
2019-01-28 10:24:23 +01:00
Harold Seigel
ac22352b49
8217660: Refactor module related locked_create_entry_or_null() functions
...
Remove function return values and add functions that create entries without doing unneeded lookups.
Reviewed-by: redestad, lfoltan
2019-01-24 09:38:50 -05:00
Goetz Lindenmaier
69e185b203
8217512: Message of LinkageError: use 'class' etc. instead of 'type'
...
Reviewed-by: dholmes, lfoltan
2019-01-23 08:25:22 +01:00
Henry Jen
776ef6a071
Merge
2019-01-15 10:55:26 -08:00
Jiangli Zhou
e0aa3e0609
8214827: Incorrect call ClassLoaders.toFileURL("jrt:/java.compiler")
...
Use URL constructor for jrt URL in SystemDictionaryShared::get_shared_protection_domain().
Reviewed-by: ccheung, iklam, dholmes, coleenp
2019-01-10 13:03:34 -05:00
Calvin Cheung
a97d8a9a76
8215947: JVM crash with -XX:+DumpSharedSpaces
...
Disable JIT compilation if -XX:+DumpSharedSpaces is specified by the user
Reviewed-by: lfoltan, jiangli
2019-01-03 14:33:58 -08:00
Roman Kennke
8b62a2ee9d
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
...
Co-authored-by: Christine Flood <chf@redhat.com>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Zhenygu Gu <zgu@redhat.com>
Co-authored-by: Andrew Haley <aph@redhat.com>
Co-authored-by: Andrew Dinn <adinn@redhat.com>
Co-authored-by: Mario Torre <mtorre@redhat.com>
Reviewed-by: kvn, roland, shade, coleenp, lmesnik, pliden, jgeorge, ihse, erikj
2018-12-10 15:47:44 +01:00
Harold Seigel
a4a38e6f44
8214840: runtime/NMT/MallocStressTest.java timed out
...
Add volatile to declaration of static field shared by multiple threads
Reviewed-by: dcubed, dholmes, coleenp
2018-12-07 08:16:50 -05:00
Ioi Lam
a0a108fb01
8214388: CDS dumping fails with java heap fragmentation
...
Force a full GC with a single thread before writing heap archive regions
Reviewed-by: sjohanss, jiangli
2018-12-03 22:27:24 -08:00
Calvin Cheung
bd1cf50953
8210102: CDS tests timed out
...
Increase the timeout to 160s for the DifferentHeapSizes test.
Reviewed-by: iklam
2018-11-30 12:24:23 -08:00
Erik Österlund
50ffeaa507
8213209: [REDO] Allow Klass::_subklass and _next_sibling to have unloaded classes
...
Reviewed-by: coleenp, dlong
2018-11-30 15:29:19 +01:00
Jesper Wilhelmsson
e13cc6d3a6
Merge
2019-01-10 21:52:33 +01:00
Aleksey Shipilev
f44e59355c
8216302: StackTraceElement::fill_in can use cached Class.name
...
Reviewed-by: coleenp, dholmes, mchung
2019-01-09 20:28:16 +01:00
Harold Seigel
467ba83c79
8215901: [TESTBUG] TestCheckedEnsureLocalCapacity.java fails intermittently
...
Change pattern match to not require that the matching string start at the beginning of a line.
Reviewed-by: dcubed, dholmes
2019-01-09 08:07:33 -05:00
Jesper Wilhelmsson
67abf1eef9
Merge
2019-01-08 07:29:13 +01:00
David Holmes
839d71f4ca
8216188: Remove expired flags in JDK 13
...
Reviewed-by: kbarrett, ccheung
2019-01-06 19:49:58 -05:00
Ioi Lam
16dc8e9634
8213275: ReplaceCriticalClasses.java fails with jdk.internal.vm.PostVMInitHook not found
...
Reviewed-by: lfoltan, sspitsyn, shade
2018-11-28 07:51:15 -08:00
David Holmes
cb861252d7
8214208: Nestmate package validation logging/exception should include classloader information
...
Reviewed-by: hseigel, coleenp, mchung
2018-11-27 21:20:16 -05:00
Coleen Phillimore
fdd11cac16
8214151: [TESTBUG] CleanProtectionDomain.java fails due to RuntimeException: 'protection domain unlinked' missing
...
Call WB_ProtectionDomainRemovedCount.
Reviewed-by: jiangli, pchilanomate
2018-11-27 19:46:57 -05:00
Daniel D. Daugherty
8e4e1a91c0
8202415: Incorrect time logged for monitor deflation
...
Add support for "deflating per-thread idle monitors" log mesgs.
Reviewed-by: dholmes, coleenp
2018-11-27 18:35:16 -05:00
Jiangli Zhou
bc215804a4
8214217: [TESTBUG] runtime/appcds/LotsOfClasses.java failed with fragmented heap
...
Improve the fragmentation error message. Set java heap size in LotsOfClasses.java.
Reviewed-by: iklam, ccheung
2018-11-27 17:53:17 -05:00
Jiangli Zhou
e0d9ae7699
8214086: [TESTBUG] Fix subgraph test cases in ReplaceCriticalClasses.java
...
Add subgraph test cases in ReplaceCriticalClassesForSubgraphs.java.
Reviewed-by: iklam
2018-11-26 14:13:22 -05:00
Harold Seigel
6d25f18bad
8204525: [TESTBUG] runtime/NMT/MallocStressTest.java ran out of java heap
...
Handle OutOfMemoryError exception to prevent test aborting
Reviewed-by: zgu, dholmes
2018-11-26 09:46:20 -05:00
Ioi Lam
6d269930fd
8213587: Speed up CDS dump time by using resizable hashtables
...
Reviewed-by: jiangli, coleenp, gziemski
2018-11-20 20:00:15 -08:00
Zhengyu Gu
44ddbe3370
8214124: [TESTBUG] Bugs in runtime/NMT/MallocStressTest.java
...
Fix possible negative size and index that can cause the test to fail
Reviewed-by: stuefe, shade
2018-11-20 20:09:11 -05:00
Claes Redestad
4b45441ae9
8213033: Archive remaining primitive box caches
...
Reviewed-by: jiangli, alanb
2018-11-20 21:12:46 +01:00
Coleen Phillimore
24218b904d
8210624: Clean up better loading tests
...
Reviewed-by: hseigel, jwilhelm
2018-09-12 08:26:31 -04:00
Coleen Phillimore
e66dfd30c4
8210094: Better loading of classloader classes
...
Reviewed-by: acorn, hseigel, ahgross, rhalade
2018-09-10 16:49:01 -04:00
Calvin Cheung
8761824649
8201375: Add the AllowArchivingWithJavaAgent diagnostic vm option to allow the use of the -javaagent option during CDS dumping
...
Allow Java agent during CDS dumping if the AllowArchivingWithJavaAgent dignostic option is specified.
Reviewed-by: iklam, jiangli, sspitsyn, dcubed
2018-11-16 16:10:25 -08:00
Boris Ulasevich
28f45defae
8213410: UseCompressedOops requirement check fails fails on 32-bit system
...
Reviewed-by: dholmes
2018-11-16 19:29:20 +03:00
David Holmes
458e0b864a
8213767: Remove the -Xconcurrentio flag and associated code
...
Reviewed-by: lfoltan, rehn
2018-11-14 04:56:43 -05:00
Vicente Romero
61082e6b25
8213480: update internal ASM version to 7.0
...
Reviewed-by: dholmes, iignatyev, alanb
2018-11-13 23:33:17 -05:00
Ioi Lam
147fc3ed13
8213346: Re-implement shared dictionary using CompactHashtable
...
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
Thomas Schatzl
56db122656
8213307: G1 should clean up RMT with ClassUnloadingWithConcurrentMark
...
Re-enable cleanup of the ResolvedMethodTable after changes in JDK-8206423.
Reviewed-by: shade, coleenp
2018-11-13 11:45:16 +01:00
Goetz Lindenmaier
b33edbf1ec
8213527: [testbug] Fix PrintMetaspaceDcmd test using UseCompressedOops for 32-bit
...
Reviewed-by: dholmes, mdoerr
2018-11-12 16:40:25 +01:00
Mikael Vidstedt
f69921f2fc
8213436: Obsolete UseMembar
...
Reviewed-by: kvn, dholmes, mdoerr, adinn
2018-11-08 11:45:13 -08:00
Lois Foltan
9c5c6947cb
8212937: Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader
...
Fix to obtain the class loader's name from the java.lang.ClassLoader object instead of its ClassLoaderData.
Reviewed-by: coleenp, mbalao, sgehwolf
2018-11-07 13:54:22 -05:00
Dean Long
a9ae141836
8212605: Pure-Java implementation of AccessController.doPrivileged
...
Reviewed-by: dholmes, mullan, vlivanov, mchung, alanb, rriggs
2018-11-06 16:04:50 -08:00
Mandy Chung
9ffe7e1205
8211122: Reduce the number of internal classes made accessible to jdk.unsupported
...
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Ioi Lam
51f2d9801b
8211336: [TESTBUG] appcds tests with incorrect usage of -XX:+UseStringDeduplication
...
Reviewed-by: dholmes, ccheung, mseledtsov
2018-10-29 14:01:46 -07:00
Jiangli Zhou
4b813da8c8
8209564: runtime/appcds/CDSandJFR.java timeout on tier6 on sparc
...
Set timeout 500 in CDSandJFR.java
Reviewed-by: dcubed
2018-11-02 19:30:31 -04:00
Igor Ignatyev
35871a8ca1
8213058: remove ExecuteInternalVMTests and VerboseInternalVMTests flags
...
Reviewed-by: erikj, dholmes, ihse
2018-11-02 16:27:55 -07:00
Calvin Cheung
fc19077b52
8213000: Obsolete the IgnoreUnverifiableClassesDuringDump vm option
...
Remove code referencing the IgnoreUnverifiableClassesDuringDump
Reviewed-by: dholmes, jiangli
2018-10-31 14:00:51 -07:00
Bob Vandette
c656dde507
Merge
2018-10-31 16:27:31 -04:00
Bob Vandette
f7ebca2763
8213204: ReservedStackTest and ReservedStackTestCompiler tests fail on windows
...
Reviewed-by: fparain, dcubed, jwilhelm
2018-10-31 16:27:01 -04:00
Coleen Phillimore
d302072f50
8213211: [BACKOUT] Allow Klass::_subklass and _next_sibling to have unloaded classes
...
Reviewed-by: jiangli, jwilhelm
2018-10-31 14:38:14 -04:00
Bob Vandette
f161afb806
Merge
2018-10-31 10:48:13 -04:00
Robbin Ehn
80aa38305d
8212933: Thread-SMR: requesting a VM operation whilst holding a ThreadsListHandle can cause deadlocks
...
Reviewed-by: eosterlund, dcubed, sspitsyn, dholmes
2018-10-31 08:09:45 +01:00
Bob Vandette
05027c124c
8209093: JEP 340: One AArch64 Port, Not Two
...
Reviewed-by: dholmes, erikj, mikael, shade, avoitylov, bulasevich
2018-10-30 10:39:19 -04:00
Calvin Cheung
e0911eacd6
8209566: [TESTBUG] runtime/appcds/jigsaw/modulepath/JvmtiAddPath.java timeout on tier6 on sparc
...
Increased the timeout from 120s (default) to 240s
Reviewed-by: dcubed, mseledtsov
2018-10-29 11:05:45 -07:00
Calvin Cheung
efce2c0397
8212154: [TESTBUG] CheckArchivedModuleApp fails with NPE when JVMCI is absent
...
Added a null check on wb.getBooleanVMFlag("EnableJVMCI").
Reviewed-by: hseigel, jiangli
2018-10-29 13:58:29 -07:00
Coleen Phillimore
6a045adbed
8212958: Allow Klass::_subklass and _next_sibling to have unloaded classes
...
Don't return unloaded klasses. Make sure access is protected by Compile_lock.
Reviewed-by: eosterlund, dlong
2018-10-29 10:21:34 -04:00
Ioi Lam
93395f6a9e
8212200: assert when shared java.lang.Object is redefined by JVMTI agent
...
Reviewed-by: dholmes, jiangli, hseigel, lfoltan, sspitsyn
2018-10-17 15:57:10 -07:00
Thomas Stuefe
5dac22b8eb
8212913: (Nested)ThreadsListHandleInErrorHandlingTest need to disable ShowRegistersOnAssert
...
Reviewed-by: dholmes, mdoerr
2018-10-24 14:59:21 +02:00
Mandy Chung
5e6d6b8642
8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
...
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Calvin Cheung
522608c0a7
8210990: [TESTBUG] Some CDS tests don't respect JVM variant being tested
...
Use CDSTestUtils.run() instead of CDSTestUtils.executeAndLog().
Reviewed-by: iklam
2018-10-22 14:31:10 -07:00
Erik Joelsson
232912a6ca
8212028: Use run-test makefile framework for testing in Oracle's Mach5
...
Reviewed-by: ihse
2018-10-15 11:36:20 -07:00
Goetz Lindenmaier
1d8a27195c
8211931: [ppc][testbug] runtime/jni/terminatedThread/TestTerminatedThread.java fails as threads don't terminate immediately
...
Reviewed-by: dholmes, mdoerr
2018-10-12 08:33:18 +02:00
Harold Seigel
2e5653c166
8211821: PrintStringTableStatistics crashes JVM
...
During JVM exit, print the Symbol and String tables before current thread gets deleted.
Reviewed-by: iklam, dholmes
2018-10-11 11:31:37 -04:00
Harold Seigel
945623c998
8079784: Unexpected IllegalAccessError when trying access InnerClasses attribute
...
Prevent classes in the InnerClasses attribute from being loaded unless they are actually being accessed.
Reviewed-by: dholmes, lfoltan
2018-10-11 10:11:18 -04:00
David Holmes
8351e4db3e
8211065: Private method check in linkResolver is incorrect
...
Reviewed-by: acorn, lfoltan
2018-10-09 20:19:22 -04:00
Vaibhav Choudhary
2223e083ba
8210376: [TESTBUG] @requires vm.cds should be replaced by @requires vm.cds.archived.java.heap and documentation is required for vm.gc==null
...
@requires vm.cds should be replaced by @requires vm.cds.archived.java.heap and documentation is required for vm.gc==null
Reviewed-by: iklam, jiangli
2018-10-05 18:25:15 +01:00
Jiangli Zhou
57b516dd0e
8202951: Implementation of JEP 341: Default CDS Archives
...
8210592: Convert CDS-mode test sets in tier5 and tier6 to non-CDS-mode tests
8209739: [TESTBUG] javax/imageio/plugins/png/ItxtUtf8Test.java fails with OutOfMemoryError when running in CDS mode
Generate the default CDS archive at JDK build time.
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: erikj, ihse, dholmes, iklam, ccheung, mseledtsov
2018-10-05 18:56:11 -04:00
Harold Seigel
d872314ef3
8211438: [Testbug] runtime/XCheckJniJsig/XCheckJSig.java looks for libjsig in wrong location
...
Remove the os_arch string and JRE path from the test. Also add JNIEXPORT to libjsig symbols so dlsym can find them
Reviewed-by: dholmes, lfoltan
2018-10-05 08:50:49 -04:00
Mandy Chung
73a6313038
8181443: Replace usages of jdk.internal.misc.Unsafe with MethodHandles.Lookup.defineClass
...
Reviewed-by: alanb, egahlin
2018-10-04 08:45:21 -07:00
David Holmes
a3cd6a1a70
8188764: Obsolete AssumeMP and then remove all support for non-MP builds
...
Reviewed-by: mikael, mdoerr, bulasevich, eosterlund
2018-10-03 03:41:57 -04:00
Calvin Cheung
40b75053e4
8211287: ClassPathTests.java fails due to "Unable to map MiscData shared space at required address."
...
Catch the InvocationTargetException and rethrow exception based on the cause
Reviewed-by: jiangli, iklam
2018-10-02 20:52:40 -07:00
Mikael Vidstedt
1cca59019b
8211364: Remove expired flags
...
Reviewed-by: dholmes, egahlin
2018-10-02 15:01:25 -07:00
Ioi Lam
568e8beda6
8209946: [TESTBUG] CDS tests should use "@run driver"
...
Reviewed-by: ccheung, jiangli, mseledtsov
2018-10-02 14:32:33 -07:00
Igor Ignatyev
ab8c7f710c
8211171: move JarUtils to top-level testlibrary
...
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
Calvin Cheung
5108d2e1dd
8202282: [TESTBUG] appcds TestCommon.makeCommandLineForAppCDS() can be removed
...
Removed the unnecessary makeCommandLineForAppCDS() method and its usage
Reviewed-by: iklam, jiangli
2018-09-26 18:21:26 -07:00
Mikael Vidstedt
9d83c060db
8210892: Deprecate TLABStats
...
Reviewed-by: pliden, tschatzl
2018-09-26 10:37:50 -07:00
David Holmes
bc6fb26d02
8211045: [Testbug] Fix for 8144279 didn't define a test case!
...
Add missing file from original commit
Reviewed-by: shade, sgehwolf
2018-09-24 12:18:51 -04:00
Igor Ignatyev
82ed2a5fc0
8210894: remove jdk/testlibrary/Asserts
...
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
Arthur Eubanks
977a178e0c
8209817: stack is executable when building with Clang on Linux
...
Reviewed-by: dholmes, martin, mikael, ihse
2018-09-19 10:51:06 -07:00
Igor Ignatyev
8b28ad6efe
8210732: remove jdk.testlibrary.Utils
...
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Calvin Cheung
fcc414655b
8190737: use unicode version of the canonicalize() function to handle long path on windows
...
Also calling CreateFileW in zip_util.c to handle long path
Reviewed-by: sherman, iklam
2018-09-14 11:17:25 -07:00
Coleen Phillimore
bad4a92e55
8210559: ClassLoaderData Symbols can leak
...
Unrefcount the symbol names when the CLD is destroyed
Reviewed-by: lfoltan, jiangli, iklam
2018-09-14 12:10:28 -04:00
Ioi Lam
4e74846da8
8210523: runtime/appcds/cacheObject/DifferentHeapSizes.java crash
...
Reviewed-by: jiangli, ccheung
2018-09-12 17:45:22 -07:00
Patricio Chilano Mateo
891765ee5e
8210300: runtime/MemberName/MemberNameLeak.java fails with RuntimeException
...
Added flag -XX:+UnlockDiagnosticVMOptions to tests failing in product builds
Reviewed-by: dcubed, dholmes
2018-09-11 13:34:13 -04:00
Jiangli Zhou
4baa5b10d1
8210515: [TESTBUG]CheckArchivedModuleApp.java needs to check if EnableJVMCI is set
...
System module objects are not archived when EnableJVMCI is set to true.
Reviewed-by: iklam, ccheung
2018-09-10 18:30:24 -04:00
Igor Ignatyev
21a0458422
8210112: remove jdk.testlibrary.ProcessTools
...
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
David Holmes
0d9f615e92
8199874: [TESTBUG] runtime/Thread/ThreadPriorities.java fails with "expected 0 to equal 10"
...
Reviewed-by: lfoltan, ccheung
2018-09-06 02:01:20 -04:00
Calvin Cheung
3c810ce261
8209736: runtime/RedefineTests/ModifyAnonymous.java fails with NullPointerException when running in CDS mode
...
Add logging of class names in the allLoadedClasses array; throw RuntimeException upon encountering of a null class.
Reviewed-by: jiangli
2018-09-04 15:00:08 -07:00
Goetz Lindenmaier
73537725b1
8210259: [testbug] IncompatibleOptions.java fails if VM configured without ZGC
...
Reviewed-by: pliden, kbarrett
2018-09-01 18:15:27 +02:00
Patricio Chilano Mateo
16b92a561c
8206424: Use locking for cleaning ProtectionDomainTable
...
ServiceThread is now in charge of cleaning ProtectionDomainTable entries
Reviewed-by: coleenp, iklam
2018-08-31 10:22:04 -04:00
Coleen Phillimore
98242123a3
8207793: [TESTBUG] runtime/Metaspace/FragmentMetaspace.java fails: heap needs to be increased
...
Reduce test time and allow OOM.
Reviewed-by: iklam, hseigel
2018-08-31 09:10:27 -04:00
Mikael Vidstedt
f5e624c0b3
8209856: Obsolete error reporter
...
Reviewed-by: coleenp, stuefe
2018-08-29 13:04:50 -07:00
Jesper Wilhelmsson
d40735db17
Merge
2018-08-29 19:48:28 +02:00
Patricio Chilano Mateo
ff17347f8f
8209844: MemberNameLeak.java fails when ResolvedMethod entry is not removed
...
Fixed MemberNameLeak.java due to intermittent failure after 8206423
Reviewed-by: coleenp, lfoltan
2018-08-29 10:46:59 -04:00
Ioi Lam
6c65a9f193
8210040: TestOptionsWithRanges.java is very slow
...
Added -Xmx1024m -XX:-ZapUnusedHeapArea; split into 10 smaller tests
Reviewed-by: kvn, coleenp
2018-08-28 16:01:12 -07:00
Jiangli Zhou
1ddabdf0dc
8209534: [TESTBUG]runtime/appcds/cacheObject/ArchivedModuleCompareTest.java fails with EnableJVMCI
...
Use TestCommon.execOff().
Reviewed-by: ccheung
2018-08-28 14:45:34 -04:00
Goetz Lindenmaier
51f697962c
8209939: [testbug][ppc] Test SafepointPollingPages fails after 8208499 with UseSIGTRAP on
...
Reviewed-by: mdoerr, ghaug
2018-08-28 17:03:16 +02:00
Leonid Mesnik
f71d1cb124
8209920: runtime/logging/RedefineClasses.java fail with OOME with ZGC
...
Reviewed-by: pliden
2018-08-27 12:45:31 -07:00