Commit Graph

277 Commits

Author SHA1 Message Date
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
Ioi Lam
8f87784420 8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
Move different execution modes to IncompatibleOptions_stringDedup.java and IncompatibleOptions_noCompactStrings.java

Reviewed-by: jiangli, coleenp
2018-08-23 21:16:45 -07:00
Volker Simonis
ea4f2f60d5 8209637: [s390x] Interpreter doesn't call result handler after native calls
Reviewed-by: goetz, lucy
2018-08-21 09:25:06 +02:00
Daniel D. Daugherty
1543db08da 8209149: [TESTBUG] runtime/RedefineTests/RedefineRunningMethods.java needs a longer timeout
Reviewed-by: coleenp
2018-08-08 15:11:11 -04:00
Igor Ignatyev
cb25641e4c 8208370: fix typo in ReservedStack tests' @requires
Reviewed-by: kvn
2018-07-27 00:00:28 -07:00
Harold Seigel
5a3decc9f1 8207944: java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1
Add code to skip over unknown attributes when class file version >= 11.

Reviewed-by: lfoltan
2018-07-26 15:56:37 -04:00
Goetz Lindenmaier
c798b68ee1 8207830: [aix] disable jfr in build and tests
Reviewed-by: kvn, erikj
2018-07-20 09:46:57 +02:00
Leonid Mesnik
aad3230b1d 8209150: [TESTBUG] Add logging to verify JDK-8197901 to a different test
Reviewed-by: coleenp, mseledtsov
2018-08-23 16:47:53 -07:00
Calvin Cheung
c3adb5f87d 8207211: [TESTBUG] Remove excessive output from CDS/AppCDS tests
Changed the value of the property test.cds.copy.child.stdout to false so that stdout of child processes are logged in files. Each stdout and stderr file will have a unique name.

Reviewed-by: iklam
2018-08-23 09:35:09 -07:00
Ioi Lam
5b2c081460 8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
Relocate and patch archive regions if necessary

Reviewed-by: jiangli, tschatzl
2018-08-14 09:59:37 -07:00
Coleen Phillimore
b1ce2c0fe8 8208172: SIGSEGV when owner of invokedynamic bootstrap method throws an exception - Symbol::increment_refcount()+0x0
Table for resolution errors always expect non-null message string.

Reviewed-by: dholmes, iklam
2018-08-22 07:51:07 -04:00
Ioi Lam
73951ab5d9 8209657: Refactor filemap.hpp to simplify integration with Serviceability Agent
Added src/hotspot/share/include/cds.h

Reviewed-by: ccheung, sspitsyn, jgeorge
2018-08-17 13:53:53 -07:00
Calvin Cheung
660c7e50f7 8209385: CDS runtime classpath checking is too strict when only classes from the system modules are archived
Skip checking the path entries which are not being referenced during CDS dump time

Reviewed-by: jiangli, iklam
2018-08-17 14:50:59 -07:00
Jiangli Zhou
da4684e2e1 8209389: SIGSEGV in WalkOopAndArchiveClosure::do_oop_work
Check the MetaspaceShared::archive_heap_object return value and handle failure accordingly.

Reviewed-by: iklam, coleenp
2018-08-16 17:29:22 -04:00
Mikhailo Seledtsov
b71faed5df 8209164: [TESTBUG] Apply jtreg skipped status to cds tests
Added the SkippedException where applicable

Reviewed-by: iklam, jiangli
2018-08-15 10:00:16 -07:00
Gerard Ziemski
b75805c1a5 8195100: Use a low latency hashtable for SymbolTable
Used concurrentHashTable, similar to stringTable

Reviewed-by: coleenp, kbarrett, iklam, pliden
2018-08-14 18:42:14 -05:00
Claes Redestad
5c3008fbc4 8209120: Archive the Integer.IntegerCache
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2018-08-13 19:21:43 +02:00
Thomas Schatzl
044b502383 8205633: TestOptionsWithRanges.java of '-XX:TLABSize=2147483648' fails intermittently
Exclude maximum range value from testing.

Reviewed-by: sangheki, kbarrett
2018-08-13 12:24:25 +02:00
Jiangli Zhou
a5d14313f5 8207263: Store the Configuration for system modules into CDS archive
Archive boot layer Configuration.

Reviewed-by: redestad, iklam, ccheung
2018-08-10 00:35:57 -04:00
Calvin Cheung
5858a507f4 8208705: [TESTBUG] The -Xlog:cds,cds+hashtables vm option is not always required for appcds tests
Only include the CDS logging option in the tests which require it

Reviewed-by: mseledtsov, jiangli, iklam
2018-08-09 15:52:23 -07:00
Coleen Phillimore
a7b66f6f5e 8208677: Move inner metaspace cleaning out of class unloading
Move to safepoint cleanup actions to do if needed.

Reviewed-by: eosterlund, hseigel
2018-08-08 15:24:21 -04:00
Daniel D. Daugherty
149026aa65 8209149: [TESTBUG] runtime/RedefineTests/RedefineRunningMethods.java needs a longer timeout
Reviewed-by: coleenp
2018-08-08 15:11:11 -04:00
Calvin Cheung
6f046a9f27 8208704: runtime/appcds/MultiReleaseJars.java timed out often in hs-tier7 testing
Increase timout to 2400 and reduce the amount of output

Reviewed-by: mseledtsov, jiangli
2018-08-07 09:44:39 -07:00
Pengfei Li
03d6ab3b09 8208623: [TESTBUG] runtime/LoadClass/LongBCP.java fails in AUFS file system
Limit the maximal file name length to 242 for AUFS file system

Reviewed-by: dholmes, redestad
2018-08-06 04:31:50 -04:00
Phil Race
32ec91ca9b Merge 2018-08-03 09:42:57 -07:00
Igor Ignatyev
b3e18b4a1b 8208701: Fix for JDK-8208655 causes test failures in CI tier1
Reviewed-by: dholmes, dcubed
2018-08-02 16:16:02 -07:00
Igor Ignatyev
940ac1cddc 8208699: remove unneeded imports from runtime tests
Reviewed-by: iklam
2018-08-02 16:15:48 -07:00
Igor Ignatyev
17891770c1 8208655: use JTreg skipped status in hotspot tests
Reviewed-by: kvn, hseigel, iklam
2018-08-02 14:40:55 -07:00
Jean Christophe Beyler
fc9941ae72 8169004: Fix redundant @requires tags in tests
Reviewed-by: tschatzl, iignatyev
2018-07-31 12:24:47 -07:00
Mikhailo Seledtsov
8a5467b9c2 8185531: [TESTBUG] Improve test configuration for shared strings
Added extra test configurations to the tests

Reviewed-by: iklam, gziemski
2018-08-01 19:07:27 -07:00
Zhengyu Gu
c9d506055c 8208499: NMT: Missing memory tag for Safepoint polling page
Added missing memory tag and cleanup memory type enum

Reviewed-by: shade, coleenp
2018-07-31 07:35:16 -04:00
Phil Race
1387c87093 Merge 2018-07-26 10:00:40 -07:00