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
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
Claes Redestad
3880f3db74
8221724: Enable archiving of Strings with hash 0
...
Reviewed-by: jiangli, iklam
2019-04-02 11:37:11 +02:00
Christian Tornqvist
9910128b44
8212627: [TESTBUG] runtime/CreateMirror/ArraysNewInstanceBug.java timed out
...
Reviewed-by: coleenp, dcubed, hseigel
2019-04-01 14:34:24 -07:00
Thomas Stuefe
be4416fdda
8221480: jcmd VM.metaspace shall print limits in basic mode
...
Reviewed-by: adinn, rehn
2019-03-26 16:26:33 +01:00
Ioi Lam
e2ffa15762
8221351: Crash in KlassFactory::check_shared_class_file_load_hook
...
Reviewed-by: dholmes, ccheung
2019-03-29 08:42:32 -07:00
Thomas Stuefe
dbe0da648a
8220786: Create new switch to redirect error reporting output to stdout or stderr
...
Reviewed-by: dholmes, goetz
2019-03-25 09:35:40 +01:00
Goetz Lindenmaier
2da45f12f2
8221398: Move test NoClassDefFoundMsg.java to subdir exceptionMsgs/
...
Reviewed-by: coleenp
2019-03-28 09:15:41 +01:00
Mikhailo Seledtsov
ea59f49e55
8221527: [TESTBUG] DockerBasicTest.java contains hard-coded reference to JDK 10
...
Using Docker test library to get the image name
Reviewed-by: dholmes
2019-03-27 08:38:05 -07:00
Ioi Lam
c532be950a
8217347: [TESTBUG] runtime/appcds/jvmti/InstrumentationTest.java timed out
...
Avoid using VirtualMachine.list(). Use Process.pid() instead.
Reviewed-by: dholmes
2019-03-26 11:34:40 -07:00
Mikhailo Seledtsov
7f9103968f
8221342: [TESTBUG] Generate Dockerfile for docker testing
...
Dockerfile is generated; introduced properties to specify custom base image
Reviewed-by: sgehwolf, dholmes, jiefu
2019-03-26 13:25:26 -07:00
Robbin Ehn
06fa31e9bc
8221472: Fix HandshakeSuspendExitTest
...
Reviewed-by: dcubed, redestad
2019-03-26 14:49:54 +01:00
Robbin Ehn
ed3542d53b
8220774: Add HandshakeALot diag option
...
Reviewed-by: dcubed, dholmes
2019-03-26 12:08:51 +01: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
Ioi Lam
a2d1045eef
8187979: Clean up info printing at CDS dump time
...
Reviewed-by: jiangli, ccheung
2017-10-02 16:00:42 -07:00
David Holmes
fd93a04684
8185062: Set AssumeMP to true and deprecate the flag
...
Reviewed-by: shade, dcubed, kvn
2017-10-02 18:56:30 -04:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Harold Seigel
87e30fd801
8186092
: Unnecessary loader constraints produced when there are multiple defaults
...
Do not check loader constraints for overpass methods
Reviewed-by: dholmes, acorn
2017-09-28 13:01:24 -04:00
Harold Seigel
2781cf9c38
8187436: -Xbootclasspath/a causes sanity check assertion with exploded build
...
Fixed asserts to work properly with exploded build
Reviewed-by: alanb, jiangli, gtriantafill
2017-09-26 08:58:04 -04:00
Robbin Ehn
e0ae6483a2
8191782: Missing deprecated options in VMDeprecatedOptions.java
...
Reviewed-by: dcubed, mlarsson
2017-11-24 13:58:52 +01:00
Daniel D. Daugherty
e2d4899be6
Merge
2017-11-23 06:01:57 -08:00
Daniel D. Daugherty
0dff96ff0b
8167108: inconsistent handling of SR_lock can lead to crashes
...
Add Thread Safe Memory Reclamation (Thread-SMR) mechanism.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Reviewed-by: coleenp, dcubed, dholmes, eosterlund, gthornbr, kbarrett, rehn, sspitsyn, stefank
2017-11-22 17:54:50 -08:00
Calvin Cheung
81032ed30f
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
Vladimir Ivanov
fa8b858052
8174962: Better interface invocations
...
Reviewed-by: jrose, coleenp, ahgross, acorn, iignatyev
2017-05-26 18:39:27 +03:00