207 Commits

Author SHA1 Message Date
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