Stefan Karlsson
7705bbfc69
8204160: BiasedLockingTest needs -XX:+UseBiasedLocking
...
Reviewed-by: eosterlund, dholmes
2018-06-05 15:56:07 +02:00
Calvin Cheung
185724b899
8203445: [TESTBUG] Remove appcds/jigsaw/limitmods/LimitModsTests.java
...
Reviewed-by: jiangli
2018-06-04 08:56:41 -07:00
Lois Foltan
d623fc1bba
8202758: SIGSEGV calling Class.forName(String,Boolean,ClassLoader) with mocked loader
...
Check that the unnamed module for a given ClassLoader is an instance of java.lang.Module.
Reviewed-by: alanb, acorn, coleenp, dholmes, hseigel
2018-06-04 11:07:04 -04:00
Coleen Phillimore
ea1e68ff5d
8203225: Fix of redefining a method that removes 1 or more lambda expressions failed to commit test cases
...
Reviewed-by: zgu, lfoltan
2018-05-24 14:02:37 -04:00
Calvin Cheung
55b6a9b02b
8203354: assert in ClassLoader::update_module_path_entry_list() could have incorrect message
...
Converting the assert in ClassLoader::update_module_path_entry_list() to a meaningful error message before aborting the CDS dump.
Reviewed-by: stuefe, iklam
2018-05-24 09:15:09 -07:00
David Holmes
8062baac83
8204055: SIGSEGV in java -XX:
...
Reviewed-by: iklam, stuefe, ccheung
2018-05-31 18:47:21 -04:00
Calvin Cheung
e8aba519f7
8203960: [TESTBUG] runtime/logging/DefaultMethodsTest.java failed when running in CDS mode
...
Added an interface with a default method. The InnerClass implements the interface.
Reviewed-by: iklam, dholmes
2018-05-31 11:41:25 -07:00
Gerard Ziemski
41259aae4d
8202360: [TESTBUG] runtime/LoadClass/TestResize.java needs to print output when it fails
...
Print out output from PrintSystemDictionaryAtExit at failure
Reviewed-by: mseledtsov, dholmes
2018-05-31 09:51:31 -05:00
Harold Seigel
d892ac8d4c
8202913: loader constraint message for fields specifies incorrect referring class
...
Improve the message to display the right referring class.
Reviewed-by: acorn, goetz, dholmes
2018-05-31 10:38:06 -04:00
Goetz Lindenmaier
ff2c3d4dbe
8203881: Print erroneous size in NegativeArraySizeException
...
Reviewed-by: dholmes, stuefe
2018-05-30 11:39:26 +02:00
Thomas Stuefe
611c72e5bc
8203455: jcmd: VM.metaspace: print loader name for anonymous CLDs
...
Reviewed-by: lfoltan, goetz
2018-05-30 08:52:59 +02:00
Coleen Phillimore
37e51f4074
8202669: Intermittent crash in ClassLoadingService::compute_class_size()
...
Don't report classes that failed to load when reporting class unloading. Remove the classes first.
Reviewed-by: dholmes, lfoltan, ccheung
2018-05-22 13:10:56 -04:00
Ioi Lam
f9742fc0a6
8193332: MetaspaceShared::check_shared_class_loader_type is not used during archive creation
...
Reviewed-by: lfoltan, jiangli
2018-05-21 21:27:12 -07:00
Jiangli Zhou
422e112ffd
8199807: AppCDS performs overly restrictive path matching check
...
8203377: Cleanup the usage of os::file_name_strcmp() in SharedPathsMiscInfo::check()
Relax CDS/AppCDS path check for modules image.
Reviewed-by: iklam, ccheung
2018-05-21 15:15:58 -04:00
Calvin Cheung
e8cf273121
8196619: [TESTBUG] restore current version check in runtime/appcds/MultiReleaseJars.java
...
Reviewed-by: dholmes
2018-05-17 08:41:01 -07:00
Igor Ignatyev
5bb7e81832
8203250: runtime/LoadClass/test-classes/Hello.java has wrong legal notice
...
Reviewed-by: ccheung
2018-05-15 13:58:03 -07:00
Erik Gahlin
a060be188d
8199712: Flight Recorder
...
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Thomas Stuefe
ce4698fadb
8203032: PrintMetaspaceDcmd fails: Non-Class: missing from stdout/stderr
...
Reviewed-by: asiebenborn, zgu
2018-05-15 14:35:51 +02:00
Goetz Lindenmaier
b72846bc20
8202745: Remove hyphens from "out-of-bounds"
...
Reviewed-by: rriggs, dholmes
2018-05-07 23:07:01 +02:00
Goetz Lindenmaier
ac3043c692
8201593: Print array length in ArrayIndexOutOfBoundsException
...
Reviewed-by: dholmes, mdoerr, smonteith, shade, rriggs
2018-05-07 09:11:21 +02:00
Calvin Cheung
78ed5e2c4d
8202289: Non-empty directory in module path is not handled properly at CDS/AppCDS dump time
...
8202519: Crash during large AppCDS dump
Convert the source of a class into canonical form before comparing witha shared path table entry.
Reviewed-by: jiangli, iklam
2018-05-10 16:39:50 -07:00
David Holmes
b62fee0519
8202744: Expired flag removal for JDK 11
...
Reviewed-by: coleenp, jiangli
2018-05-07 21:48:28 -04:00
Coleen Phillimore
00223c1ca5
8202606: Deprecate AllowNonVirtualCalls option
...
Reviewed-by: hseigel, dholmes
2018-05-07 18:48:36 -04:00
Goetz Lindenmaier
72a2ac8b8b
8199852: Print more information about class loaders in LinkageErrors
...
Reviewed-by: dholmes, lfoltan, gtriantafill
2018-05-07 11:38:21 +02:00
Lois Foltan
2464e2b11e
8189916: Dynamic Constant support for Sparc
...
Change to the template interpreter to support dynamic constant on Sparc.
Reviewed-by: coleenp, psandoz
2018-05-04 12:14:09 -04:00
Leo Korinth
97571a7c4e
8176717: GC log file handle leaked to child processes
...
Reviewed-by: stuefe, rehn
2018-05-03 15:17:27 +02:00
Thomas Stuefe
d9b3c3203e
8201572: Improve Metaspace Statistics
...
Reviewed-by: adinn, zgu
2018-04-24 18:06:32 +02:00
Daniel D. Daugherty
9a94336b7d
8191798: redo nested ThreadsListHandle to drop Threads_lock
...
Refactor Thread hazard ptrs and nested ThreadsLists into SafeThreadsListPtr.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: dcubed, eosterlund, rehn
2018-05-02 16:47:40 -04:00
Calvin Cheung
e7ef03dce6
8202130: [TESTBUG] Some appcds regression test cases fail with "Error: VM option 'PrintSystemDictionaryAtExit' is notproduct and is available only in debug version of VM"
...
Removed the PrintSystemDictionaryAtExit vm option from the tests
Reviewed-by: zgu
2018-05-01 17:28:03 -07:00
Jiangli Zhou
3544f8902a
8202452: Delete test files missed from commit for 8193213&8182731
...
Deleted outdated tests.
Reviewed-by: dholmes
2018-04-30 17:50:05 -04:00
Jiangli Zhou
20edc74068
8193213: Make the UseAppCDS option obsolete
...
8182731: Odd handling of -XX:-UseAppCDS and -XX:SharedArchiveFile
Application class data sharing is enabled without -XX:+UseAppCDS. SharedArchiveFile is now a product flag.
Reviewed-by: dholmes, ihse, erikj, ccheung
2018-04-30 16:59:05 -04:00
Calvin Cheung
b0268d4b00
8154204: [TESTBUG] Update DefaultUseWithClient test to handle client-less builds
...
Removed the DefaultUseWithClient.java test
Reviewed-by: hseigel, jiangli
2018-04-30 09:37:10 -07:00
Harold Seigel
f236cf3cf4
8202204: Rename hotspot runtime jtreg constantPool ConstantPool directories
...
Move the tests in the constantPool directory to a new directory named AccModule.
Reviewed-by: dholmes, gtriantafill
2018-04-27 08:45:11 -04:00
Harold Seigel
a7b8407fbc
8197960: [TESTBUG] remove/modify runtime tests which use java ee or corba modules
...
Replace references to java ee and corba modules with module java.sql.
Reviewed-by: lfoltan, ccheung
2018-04-26 09:04:09 -04:00
Calvin Cheung
1515d70930
8197959: [TESTBUG] Some (App)CDS tests require modification due to the removal of the Java EE and CORBA modules
...
Reviewed-by: iklam, mseledtsov
2018-04-25 14:08:19 -07:00
Vladimir Kozlov
5096bee84e
8202152: test/hotspot/jtreg/runtime/whitebox/WBStackSize.java fails
...
Set compiler threads stack size the same as for java threads
Reviewed-by: dholmes, mdoerr, dlong
2018-04-25 10:12:45 -07:00
Ioi Lam
cac6379cc4
8188105: Make -Xshare:auto the default for server VM
...
Reviewed-by: dholmes, lfoltan, acorn, mseledtsov, jiangli
2018-04-23 07:51:46 -07:00
Martin Doerr
5e1a7651cd
8198756: Lazy allocation of compiler threads
...
Reviewed-by: kvn
2018-04-18 11:19:32 +02:00
Coleen Phillimore
36d1d59425
8201505: Use WeakHandle for ProtectionDomainCacheTable and ResolvedMethodTable
...
8193524: Redefining a method that removes use of 1 or more lambda expressions causes the JVM to hang
Remove oop pointers from runtime data structures.
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Reviewed-by: lfoltan, stefank
2018-04-18 12:06:53 -04:00
Calvin Cheung
894e8c6479
8197972: Always verify non-system classes during CDS dump time
...
Use -Verify:remote even if the user specifies -Xverify:none during CDS dump time
Reviewed-by: iklam, mseledtsov, jiangli
2018-04-17 16:19:48 -07:00
Goetz Lindenmaier
f82560174b
8201430: [TESTBUG] Remove script from runtime/6626217
...
Reviewed-by: dholmes, mdoerr
2018-04-11 14:49:06 +02:00
Calvin Cheung
4ef7c919a2
8194812: Extend class-data sharing to support the module path
...
8199360: Rework the support for the 'ignored' module options in CDS
Reviewed-by: jiangli, lfoltan, iklam, mseledtsov
2018-04-10 11:43:40 -07:00
Harold Seigel
ffc0b90a4e
8198908: Add JVM support for preview features
...
Add new major and minor version checks
Reviewed-by: dholmes, lfoltan
2018-04-06 09:59:48 -04:00
Jesper Wilhelmsson
82847e4ec0
Merge
2018-04-06 03:53:28 +02:00
Gary Adams
0ddec5ae89
8199782: Fix compilation warnings detected by Solaris Developer Studio 12.6
...
Reviewed-by: sspitsyn, dholmes, ihse
2018-04-05 11:18:39 -07:00
Harold Seigel
b89ae10df2
8200261: Regression with JVM anonymous class
...
Restore resolved anonymous class when creating a new constantpool because of overpass methods
Reviewed-by: coleenp, lfoltan
2018-04-05 13:19:25 -04:00
Sean Mullan
ceea439679
8193032: Remove terminally deprecated SecurityManager APIs
...
Remove the checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess, and checkMemberAccess methods.
Reviewed-by: alanb, mchung, kcr
2018-04-04 11:26:10 -04:00
Mikhailo Seledtsov
fc89e7ac24
8200126: [TESTBUG] Open source VM runtime signal tests
...
Open sourced the signal tests, updated make files and test groups accordingly
Reviewed-by: dholmes, ctornqvi, ihse
2018-04-03 08:56:46 -07:00
Thomas Stuefe
3e603a776e
8191101: Show register content in hs-err file on assert
...
Reviewed-by: adinn, clanger, simonis
2018-03-30 06:31:16 +02:00
Calvin Cheung
213862d866
8200078: [Graal] runtime/appcds/GraalWithLimitedMetaspace.java crashes in visit_all_interfaces
...
Stop CDS dumping right away when an OOM due to insufficient metaspace is encountered
Reviewed-by: iklam, mseledtsov
2018-03-29 21:48:38 -07:00
Vladimir Kozlov
6b886727ca
8199212: [TESTBUG] don't run compiler/aot tests with -Xcomp
...
8199489: [TESTBUG] don't run CTW tests with -Xcomp
Reviewed-by: iignatyev, iveresov
2018-03-22 16:39:02 -07:00
Tobias Hartmann
55233a42f3
8199777: Deprecate -XX:+AggressiveOpts
...
Deprecate -XX:+AggressiveOpts and remove it from testing.
Reviewed-by: kvn, dholmes, shade
2018-03-22 08:39:51 +01:00
Mikhailo Seledtsov
aa2b650b70
8199880: runtime/appcds/condy/CondyHelloTest.java missing at requires vm.cds
...
Added at requires vm.cds
Reviewed-by: dcubed, jiangli
2018-03-21 13:18:06 -07:00
George Triantafillou
957f5e1c7d
8194054: [TESTBUG] Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java failed with -1073740940 (FFFFFFFFC0000374)
...
Reviewed-by: stsmirno, coleenp
2018-03-21 11:27:29 -04:00
Tobias Hartmann
eda7916ce8
8199624: [Graal] Blocking jvmci compilations time out
...
Handle blocking jvmci compilations that time out.
Reviewed-by: kvn, dnsimon
2018-03-21 08:18:54 +01:00
Zhengyu Gu
d6bd698077
8199752: NMT: Memory allocated by Unsafe.allocateMemory should be tagged as mtOther
...
Tag memory allocation from Usafe.allocateMemory as external memory allocation
Reviewed-by: coleenp, stuefe
2018-03-19 08:31:57 -04:00
Ioi Lam
f48c339805
8198796: Create test case for CDS + condy
...
Reviewed-by: mseledtsov, lfoltan, jiangli
2018-03-13 15:13:20 -07:00
Daniel Stewart
07ad3d2f91
8199425: JTReg failure: runtime/stringtable/StringTableVerifyTest.java
...
Adding required -XX:+UnlockDiagnosticVMOptions flag to StringTableVerifyTest.java
Reviewed-by: coleenp, kvn
2018-03-09 23:03:28 -05:00
Andrew Haley
f48f7c36d5
8197429: Increased stack guard causes segfaults on x86-32
...
Reviewed-by: dholmes
2018-02-16 09:43:26 +00:00
Goetz Lindenmaier
469e350dab
8199532: [TESTBUG] AbstractMethodErrorTest.java test failed with -Xcomp
...
Reviewed-by: kvn
2018-03-13 21:55:41 +01:00
Calvin Cheung
214248fe11
8196626: [Graal] runtime/appcds/UseAppCDS.java crashes with "VM thread using lock Heap_lock (not allowed to block on)"
...
Print a message and abort CDS dumping when the allocation of metaspace has failed
Reviewed-by: iklam, mseledtsov
2018-03-09 13:36:39 -08:00
Goetz Lindenmaier
507c62fc76
8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors
...
Reviewed-by: coleenp, dholmes, mdoerr, njian
2018-02-08 09:23:49 +01:00
Ioi Lam
bc202d97bd
8191585: VM anonymous classes created during CDS dump time cause crash
...
Reviewed-by: hseigel, mseledtsov, ccheung
2018-03-06 22:08:30 -08:00
Coleen Phillimore
31cf80c688
8199137: StringInternSync test crashes in exit verification
...
Java_lang_String::equals(oop, oop) was buggy.
Reviewed-by: eosterlund, dholmes
2018-03-06 18:12:15 -05:00
Coleen Phillimore
4c3e072611
8198926: Move ClassLoaderData::_dependencies to ClassLoaderData::_handles
...
Move dependency creation and cleaned up logging
Reviewed-by: hseigel, jiangli
2018-03-06 17:15:16 -05:00
Dmitry Samersoff
87372c6236
8196590: Enable docker container related tests for linux AARCH64
...
Add test bits required for aarch64
Reviewed-by: mseledtsov, mbaesken, sspitsyn
2018-03-03 10:15:23 +00:00
Ioi Lam
4c0a72bf60
8196121: runtime/appcds/ClassLoaderTest.java fails silently
...
Reviewed-by: mseledtsov, jiangli, ccheung
2018-03-04 22:24:06 -08:00
Calvin Cheung
efcc8d2558
8193434: [GRAAL] Graal classes are not loaded with -Xshare:dump
...
Allow loading of non-boot classes during CDS dumping but only add boot classes to the archive
Reviewed-by: kvn, iklam, jiangli
2018-03-02 17:33:59 -08:00
Jiangli Zhou
f987dec395
8194759: Support caching class mirror objects
...
Support archiving mirror objects for shared classes in 'open' archive java heap region.
Reviewed-by: coleenp, iklam, mseledtsov, tschatzl
2018-03-02 17:25:55 -05:00
Coleen Phillimore
a2818d9625
8191421: Deprecate PrintSafepointStatistics, PrintSafepointStatisticsTimeout and PrintSafepointStatisticsCount options
...
Reviewed-by: dholmes, hseigel
2018-02-28 14:20:24 -05:00
Robbin Ehn
5287d9a366
8197408: Bad pointer comparison and small cleanup in os_linux.cpp
...
Reviewed-by: bobv, stuefe
2018-02-27 14:15:30 +01:00
Ioi Lam
d050bedee8
8195065: runtime/appcds/ProhibitedPackage.java intermittent failure
...
Reviewed-by: mseledtsov
2018-02-24 22:42:37 -08:00
Leonid Mesnik
2471caab08
8197901: Crash during GC when logging level is debug
...
Reviewed-by: dholmes, coleenp
2018-02-23 13:55:49 -08:00
Bob Vandette
c1359ec107
8197589: Update CPU count algorithm when both cpu shares and quotas are used
...
Reviewed-by: dholmes, mseledtsov
2018-02-23 10:17:35 -05:00
Harold Seigel
7d1735efbb
8184289: Obsolete -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal options
...
Add comments, fix a small issue with the boot loader, and add an assert.
Reviewed-by: coleenp, alanb, acorn, dholmes
2018-02-21 11:18:52 -05:00
Stefan Karlsson
08193e2dfb
8198225: os::attempt_reserve_memory_at records memory as committed
...
Reviewed-by: shade, zgu, stuefe
2018-02-21 12:40:07 +01:00
Stefan Karlsson
f1540011d0
8196405: [REDO] NMT: add_committed_regions doesn't merge succeeding regions
...
Reviewed-by: eosterlund, coleenp, zgu
2018-02-21 12:40:05 +01:00
Ioi Lam
96eb1f1fdd
8191375: Add high-level jtreg VMProps to filter out CDS tests
...
Added vm.cds.archived.java.heap
Reviewed-by: mseledtsov, jiangli, ccheung, gtriantafill
2018-02-15 11:39:42 -08:00
Ioi Lam
a74437edc9
8179249: Improve process output analysis in CDS tests
...
Added new API TestCommon.run(...).assertNormalExit(...), etc
Reviewed-by: mseledtsov
2018-02-14 07:08:25 -08:00
Zhengyu Gu
f47021e2ab
8193373: Cleanup ElfFile and family
...
Cleanup elf decoder and added test
Reviewed-by: minqi, coleenp
2018-02-14 17:20:59 -05:00
Calvin Cheung
26712bcb1b
8196920: VerifierTest_1A.java and VerifierTest_1B.java fail: assert(receiver_klass->is_subtype_of(static_receiver_klass)) failed: actual receiver must be subclass of static receiver klass
...
Add an unverifiable method to the test class
Reviewed-by: dholmes, iklam
2018-02-14 10:32:19 -08:00
Jesper Wilhelmsson
51ab999e0e
Merge
2018-02-13 23:38:34 +01:00
Lance Andersen
987c3a2d87
8190378: Removal of CORBA and Java EE modules
...
Reviewed-by: rriggs, alanb, mchung, erikj, goetz
2018-02-10 07:06:16 -05:00
Jesper Wilhelmsson
d7dd9d1027
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
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
Lois Foltan
1da7dc6296
8186211: Negative tests for CONSTANT_Dynamic
...
Additional negative tests for poorly formed CONSTANT_Dynamic_info constant pool structures.
Reviewed-by: hseigel, psandoz
2018-02-12 14:28:04 -05:00
Matthias Baesken
9465174f72
8197412: Enable docker container related tests for linux s390x
...
Reviewed-by: goetz, dsamersoff
2018-02-09 10:18:19 +01:00
Coleen Phillimore
789e827f1a
8196806: Deprecate VMThreadHintNoPreempt and CompilerThreadHintNoPreempt
...
Reviewed-by: dholmes, hseigel
2018-02-08 15:21:59 -05:00
Zhengyu Gu
934390b571
8196923: [REDO] NMT: Report array class count in NMT summary
...
Added instance and array class counters in NMT summary report
Reviewed-by: minqi, stuefe, coleenp
2018-02-08 13:21:22 -05:00
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
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
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