210 Commits

Author SHA1 Message Date
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
Calvin Cheung
e7ff0665e4 8188122: Path length limits on Windows leads to obscure class loading failures
Used the unicode version of windows API's to handled long paths and avoid using the stat() function.

Reviewed-by: stuefe, iklam
2017-11-21 09:49:52 -08:00
Gerard Ziemski
cdabc7a61c 8191580: open/test/hotspot/jtreg/runtime/LoadClass/TestResize fails on product build
Guarded the test with the tag requiring debug build

Reviewed-by: jiangli
2017-11-21 10:21:24 -06:00
Ekaterina Pavlova
d7f5a6e86e 8190975: [Graal] Tests which run with "--limit-modules java.base" could fail when Graal is used as JIT
Reviewed-by: dholmes, alanb
2017-11-20 14:02:10 -08:00
Mikhailo Seledtsov
eadfc06bd0 8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration
Created tests for the feature

Reviewed-by: bobv, iignatyev
2017-11-16 19:01:01 -08:00
Bob Vandette
20a8de0f70 8146115: Improve docker container detection and resource configuration usage
Reviewed-by: dholmes, kbarrett, phh
2017-11-15 10:34:17 -05:00
Coleen Phillimore
7660d97e2e 7179701: MaxJavaStackTraceDepth of zero is not handled correctly/consistently in the VM
Value of zero means unlimited stack trace.  If you want no stack trace, use -XX:-StackTraceInThrowable

Reviewed-by: dholmes, hseigel
2018-01-31 11:07:55 -05:00
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +01:00
Jesper Wilhelmsson
39c3127dc1 8196372: [BACKOUT] NMT: add_committed_regions doesn't merge succeeding regions
Reviewed-by: stefank
2018-01-30 16:26:40 +01:00
Stefan Karlsson
4f190cacf6 8196217: NMT: add_committed_regions doesn't merge succeeding regions
Reviewed-by: zgu, pliden, coleenp
2018-01-29 15:11:33 +01:00
Coleen Phillimore
5672dfedd4 8194246: JVM crashes when calling getStackTrace if stack contains a method that is a member of a very large class
Use unsigned short to save method_id in stack trace.

Reviewed-by: mchung, hseigel
2018-01-29 11:55:40 -05:00
Coleen Phillimore
e9b04293e3 8175249: VMThread::run fails in VerifyBeforeExit : Universe::verify
Protection domain package access cache needs to be walked in unloading

Reviewed-by: dholmes, jiangli, zgu, kbarrett
2018-01-24 11:33:18 -05:00
Igor Ignatyev
71a40bce38 8186635: ClassFileInstaller should be run as a driver
Reviewed-by: dholmes
2018-01-17 21:44:44 -08:00
Gerard Ziemski
c43b98c1ff 8194831: [TESTBUG] Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java misleading error message
Only show the actual GC used in the error message. Show exit status in hex as well as decimal.

Reviewed-by: dholmes
2018-01-17 13:39:07 -06:00
Stefan Karlsson
e8a8207852 8194925: NMT: SummarySanityCheck test can't parse values > max_jint
Reviewed-by: shade, zgu
2018-01-12 13:56:05 +01:00
Robbin Ehn
104ecb2dd1 8189941: Implementation JEP 312: Thread-local handshake
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.

Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: mdoerr, neliasso, acorn, aph, coleenp, dholmes
2017-08-31 10:00:28 +02:00
David Holmes
2aecf1b321 8190881: [TESTBUG] test.runtime.ErrorHandling.TestOnError comment is incomplete
Reviewed-by: iignatyev
2017-11-09 00:52:15 -05:00
Jesper Wilhelmsson
3c76c33dba Merge 2017-11-07 08:47:47 +01:00
Leo Korinth
c2935fa4a4 8186502: Assert when range testing G1RefProcDrainInterval on 64-bit systems
Reviewed-by: sjohanss, sangheki
2017-11-06 09:41:54 +01:00
Calvin Cheung
c39d2071f0 8187347: Do not abort CDS archive creation when some classes are unverifiable
Deprecating the IgnoreUnverifiableClassesDuringDump vm option in JDK10 and set its default value to true

Reviewed-by: dholmes, jiangli
2017-11-03 10:48:26 -07:00
Kumar Srinivasan
105a51b96d 8190287: Update JDK's internal ASM to ASMv6
Reviewed-by: alanb, mchung, sundar
2017-11-02 13:18:23 -07:00
Gerard Ziemski
a043febf6f 8184765: Dynamically resize SystemDictionary
Implemented dynamic resizing, which triggers when load factor is too high

Reviewed-by: coleenp, rehn
2017-11-02 11:00:34 -05:00
Harold Seigel
99bf982432 8174954: Parameter target type is allowed access after a module read edge or a package export has occurred after failed resolution
Store resolution exception in resolution_error table and set flag in cpCache indicating resolution failed.

Reviewed-by: acorn, jrose, dholmes, lfoltan
2017-10-23 10:42:26 -04:00
Mandy Chung
7344b46c71 8189193: FindClass should only see classes from the boot loader called from its associated native library
Reviewed-by: coleenp, dholmes
2017-10-19 17:27:34 -07:00
Yasumasa Suenaga
f778dfd81a 8087291: InitialBootClassLoaderMetaspaceSize and CompressedClassSpaceSize should be checked consistent from MaxMetaspaceSize
Reviewed-by: coleenp, hseigel
2017-10-18 18:49:54 -04:00
Ioi Lam
a58615e3f8 8176827: Test can't find libXext.so
Removed references to classes that belong to desktop modules.

Reviewed-by: ccheung, dholmes
2017-10-17 14:06:36 -07:00
Harold Seigel
d3466f7dce 8188922: [TESTBUG] runtime/CommandLine/VMDeprecatedOptions.java fails with JDK10 release bits
Add -XX:+UnlockDiagnosticVMOptions to the command line when testing a deprecated diagnostic option.

Reviewed-by: coleenp, lfoltan
2017-10-11 10:03:22 -04:00
Mikhailo Seledtsov
ac63626f1f 8181592: [TESTBUG] Docker test utils and docker jdk basic test
Implemented docker test utilities and basic test

Reviewed-by: iignatyev, lmesnik, gtriantafill
2017-10-10 19:18:36 -07:00
Coleen Phillimore
fd85805dc0 8178870: instrumentation.retransformClasses cause coredump
Don't double-free cached class bytes on redefinition loading failure.

Reviewed-by: sspitsyn, jiangli
2017-10-06 14:30:04 -04:00
Jesper Wilhelmsson
b708f0ddbd Merge 2017-10-04 21:02:13 +02:00
Goetz Lindenmaier
92fc72a86b 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: ihse, dholmes
2017-09-25 23:42:58 -04:00