Commit Graph

90 Commits

Author SHA1 Message Date
Matthias Baesken
b68ed88ffb 8196062: Enable docker container related tests for linux ppc64le
Also fix cgroup subsystem recognition

Reviewed-by: goetz, dsamersoff, bobv
2018-02-07 16:16:50 +01:00
Jesper Wilhelmsson
dd416bbf33 8196924: [BACKOUT] NMT: Report array class count in NMT summary
Reviewed-by: dholmes
2018-02-07 03:43:29 +01:00
Zhengyu Gu
41ace19206 8193184: NMT: Report array class count in NMT summary
Report array class and instance class count in NMT summary report

Reviewed-by: coleenp, minqi
2018-02-06 08:24:36 -05:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
David Holmes
b7c0ee5812 8196657: [Testbug] TestOptionsWithRanges will fail for newly obsoleted flags that have not yet been removed
Reviewed-by: kbarrett, tschatzl
2018-02-05 06:42:42 -05:00
Tobias Hartmann
9eb320a418 8195731: [Graal] runtime/SharedArchiveFile/serviceability/transformRelatedClasses/TransformSuperSubTwoPckgs.java intermittently fails with Graal JIT
Print detailed error if class transformation fails. Exclude tests from Graal testing.

Reviewed-by: kvn, dholmes, sspitsyn
2018-02-05 08:08:01 +01:00
David Holmes
1c318a676e 8196550: [Testbug] runtime/appcds/MultiReleaseJars.java fails on JDK 11
Reviewed-by: alanb, iklam, ccheung
2018-02-04 21:00:19 -05:00
Calvin Cheung
ea5f35759b 8196124: [testbug] runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.java passes despite of error
Create another archive with whitebox.jar in the -Xbootclasspath/a; check output from TestCommon.execCommon().

Reviewed-by: iklam, mseledtsov
2018-02-01 10:55:27 -08:00
Jesper Wilhelmsson
fc1b01b9a2 Merge 2018-01-13 02:56:22 +01:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Daniel Stewart
99cb8d9af1 8194762: JTReg failure of "runtime/NMT/PrintNMTStatistics.java"
Reviewed-by: dholmes, zgu
2018-01-11 20:25:13 -05:00
Jesper Wilhelmsson
fb8bca78ee Merge 2018-01-05 22:02:20 +01:00
Lana Steuck
c8c8cd7238 Merge 2018-01-04 04:22:28 +00:00
David Holmes
d32979d771 8194071: [Testbug] Update VMDeprecatedOptions test for obsolete/expired options
Reviewed-by: hseigel
2017-12-22 15:23:34 -05:00
Ioi Lam
36c68615bc 8193664: AppCDS tests should use -XX:+UnlockCommercialFeatures when running with commercial JDK
Reviewed-by: jiangli, mseledtsov, dholmes
2018-01-11 16:40:10 -08:00
Vladimir Ivanov
1b558514ff 8188145: MethodHandle resolution should follow JVMS sequence of lookup by name & type before type descriptor resolution
Reviewed-by: kvn, psandoz
2018-01-12 01:52:06 +03:00
Martin Doerr
201a232a23 8194258: PPC64 safepoint mechanism: Fix initialization on AIX and support SIGTRAP
Use mmap on AIX to allocate protected page. Use trap instructions for polling if UseSIGTRAP is enabled.

Reviewed-by: rehn, goetz
2018-01-10 11:09:55 +01:00
Abhijit Saha
8c39e16731 Merge 2018-01-17 17:33:48 +00:00
Volker Simonis
0af51c77f0 8195153: [test] runtime/6981737/Test6981737.java shouldn't check 'java.vendor' and 'java.vm.vendor' properties
Reviewed-by: dholmes
2018-01-17 17:26:07 +01:00
Abhijit Saha
f96c816c07 Merge 2018-01-12 15:05:35 -08:00
Daniel D. Daugherty
add0d817f5 8194652: VMError::print_native_stack() is missing an os::is_first_C_frame() check
Reviewed-by: fparain, gthornbr, stuefe
2018-01-08 09:58:38 -05:00
Jesper Wilhelmsson
0d68fdfec3 Merge 2018-01-05 22:02:20 +01:00
Calvin Cheung
5cfe75dd1a 8192927: os::dir_is_empty is incorrect on Windows
Check file names in a directory. It is empty if only the "." and ".." files exist. Use unicode version of windows APIs to handle long path.

Reviewed-by: iklam, sspitsyn
2018-01-04 22:47:38 -08:00
Paul Sandoz
038b5f571c 8191913: Bump classfile version number to 55
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: dholmes, darcy
2017-12-20 09:14:06 -08:00
Ioi Lam
5dd68ed125 8165603: runtime/appcds/UseAppCDS.java: failed to clean up files after test when running with agentvm
Reviewed-by: mseledtsov, dholmes
2017-12-13 15:37:48 -08:00
Jesper Wilhelmsson
7c3a956755 Merge 2017-12-07 10:18:31 +01:00
Jiangli Zhou
3d7e063f0f 8193065: [TESTBUG] [TESTBUG]GCSharedStringsDuringDump.java: Exception in thread "main" java.lang.RuntimeException: String is not shared
Check if 'oa' region is missing.

Reviewed-by: hseigel, ccheung
2017-12-06 20:06:43 -05:00
Vladimir Kozlov
c11f132abe 8191788: add jdk.internal.vm.compiler to --limit-modules if -Djvmci.Compiler=graal is in the command line
Skip tests which use --limit-modules when Graal is used as JIT compiler.

Reviewed-by: alanb, mchung, dholmes, ccheung, dnsimon
2017-12-13 11:59:55 -08:00
David Holmes
b1001c7d7d 8193222: EnsureLocalCapacity() should maintain capacity requests through multiple calls
Reviewed-by: coleenp, dcubed
2017-12-12 19:06:19 -05:00
Calvin Cheung
915b2cd1f2 8192989: runtime/appcds/javaldr/ArrayTest.java crashes with assert(k->is_instance_klass())
Disable loading array classes from the class list

Reviewed-by: iklam, jiangli
2017-12-08 15:14:08 -08:00
Daniel D. Daugherty
b0138d81ad 8193135: get rid of redundant _smr_ prefix/infix in ThreadSMRSupport stuff
Reviewed-by: stefank, gtriantafill, coleenp
2017-12-08 15:24:47 -05:00
Dean Long
318c0d74ab 8192870: [Testbug] runtime/handshake/HandshakeTransitionTest throws NPE
Reviewed-by: dholmes, rehn
2017-12-05 11:16:03 -08:00
Jiangli Zhou
1cfa67d1d5 8193065: [TESTBUG] [TESTBUG]GCSharedStringsDuringDump.java: Exception in thread "main" java.lang.RuntimeException: String is not shared
Check if 'oa' region is missing.

Reviewed-by: hseigel, ccheung
2017-12-06 20:06:43 -05:00
Jesper Wilhelmsson
e77f4f9c55 Merge 2017-12-02 06:51:10 +01:00
Ioi Lam
d4fab56c4f 8190809: JVM crashes while generating appcds for classpath with empty directory entry
Reviewed-by: ccheung, jiangli, lmesnik
2017-12-01 15:53:15 -08:00
Mikhailo Seledtsov
52ecf42bdc 8191943: [TESTBUG] docker/TestCPUAwareness fails on machine with 2 CPUs
Updated test cases to account for available processors

Reviewed-by: bobv, dholmes
2017-11-30 20:45:03 -08:00
Dean Long
15ea766de2 8191437: AOT doesn't work easily after thread local handshakes
Reviewed-by: kvn, rehn, aph
2017-11-30 10:40:48 -08:00
Calvin Cheung
40f06dc0e3 8174101: Bootclasspath append should not invalidate CDS archive
Reviewed-by: iklam, jiangli
2017-11-30 14:25:33 -08:00
Robbin Ehn
3ef7804e6d 8192072: 8191782 fix for VMDeprecatedOptions.java missed DeferThrSuspendLoopCount and duplicated DeferPollingPageLoopCount
Pushed under trivial rules.

Reviewed-by: coleenp
2017-11-30 16:08:13 +01:00
Jesper Wilhelmsson
d417fc4af1 Merge 2017-12-21 00:07:38 +01:00
Ioi Lam
c7421b5e3b 8193672: [test] Enhance vm.cds property to check for all conditions required to run CDS tests
Reviewed-by: dholmes, dsamersoff, simonis
2017-12-04 08:59:47 -08:00
Goetz Lindenmaier
12a45fe7f8 8193509: Test dynamic path to retrieve active processor count
Reviewed-by: dholmes, mdoerr
2017-12-14 12:57:21 +01:00
Harold Seigel
47bbcac667 8154587: Resolution fails for default method named 'clone'
Make sure default methods with the same names as those in j.l.Object get put in the default methods table where resolution can find them.

Reviewed-by: acorn, lfoltan
2017-12-15 11:23:50 -05:00
Ioi Lam
177b24b7d7 8191747: [TESTBUG] runtime/appcds/DumpClassList.java and ProhibitedPackage.java fail on product bits
Reviewed-by: simonis
2017-11-29 18:43:35 -08:00
Volker Simonis
7617012f55 8191927: Enable AppCDS for custom loaders on all 64-bit Linux and AIX
Added "@requires vm.cds.custom.loaders" to mark tests related to custom loaders

Reviewed-by: simonis, mseledtsov
2017-11-28 09:47:04 -08:00
Jiangli Zhou
61e736cbae 8188791: Move AppCDS from closed repo to open repo
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: dsamersoff, simonis, minqi
2017-11-27 20:21:34 -08:00
Paul Sandoz
2c9ed8e178 8188870: Bump classfile version number to 54
Reviewed-by: alanb, dholmes, coleenp, mcimadamore
2017-11-03 10:01:08 -07:00
Calvin Cheung
6feaa2cb69 8191653: Test failures in BootAppendTests - missing jdk.internal.vm.compiler module
Backout the fix for 8190975

Reviewed-by: iklam, kvn
2017-11-22 16:08:39 -08:00
Calvin Cheung
4b08777a6a 8191739: [TESTBUG] test/hotspot/jtreg/runtime/LoadClass/TestResize.java fails to compile after JDK-8191580
Added missing import statement

Reviewed-by: dcubed, dholmes
2017-11-21 15:45:33 -08:00