Commit Graph

338 Commits

Author SHA1 Message Date
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
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
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