367 Commits

Author SHA1 Message Date
Igor Ignatyev
08855df46a 8199643: [TESTBUG] Open source common VM testbase code
Reviewed-by: vlivanov, erikj, mseledtsov, gthornbr
2018-04-30 18:10:24 -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
Claes Redestad
af4695d7e4 8202417: [TESTBUG] Broken hard-coded dependency in serviceability/sa/ClhsdbJhisto.java
Reviewed-by: alanb
2018-04-30 11:48:03 +02:00
Vladimir Kozlov
1b027ddfe9 8202273: [AOT] Graal does not support the CMS collector
Avoid running AOT and JVMCI tests with CMS

Reviewed-by: dcubed
2018-04-27 08:28:06 -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
Roland Westrelin
0ef11c31c7 8201367: assert(current != first_mem) failed: corrupted memory graph in superword code
Don't rely on the RPO order to find the "first" and "last" loads of the pack

Reviewed-by: kvn
2018-04-26 12:48:35 -07: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
Jini George
ccc74fdd60 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
Read in the md region of the CDS archive in SA and map the vtable addresses to the corresponding metadata type.

Reviewed-by: iklam, coleenp, ysuenaga, dholmes
2018-04-26 12:25:36 +05:30
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
Yasumasa Suenaga
c3efc6ec43 8199519: Several GC tests fails with: java.lang.NumberFormatException: Unparseable number: "-"
Reviewed-by: sjohanss, jgeorge
2018-04-26 09:45:47 +09:00
Ekaterina Pavlova
465eea6d80 8202276: Update test/hotspot/jtreg/ProblemList-graal.txt
Reviewed-by: kvn
2018-04-25 11:24:33 -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
Mikael Vidstedt
2dbc9735ac 8202169: Reduce ctw_2 duration by parallelizing CtwRunner invocations
Reviewed-by: kvn, iignatyev
2018-04-24 21:40:10 -07:00
Roland Westrelin
15a89eeee4 8201368: IfNode::fold_compares() may lead to incorrect execution
Reviewed-by: neliasso, kvn
2018-04-10 17:07:21 +02: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
Vladimir Kozlov
4a2ed13802 8201850: [AOT] vm crash when run test compiler/aot/fingerprint/SelfChangedCDS.java
Set AOT specific compressed oop shift value before CDS archive load

Reviewed-by: iklam, jiangli
2018-04-20 14:30:57 -07:00
Igor Ignatyev
716ac034c4 8202037: Split slow ctw_1 tests
Reviewed-by: kvn
2018-04-19 15:31:06 -07: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
Thomas Schatzl
ebbd7cf90b 8201596: java.lang.ref.Reference processing total time logging broken
Fix "Reference Processing" and add "Weak Processing" time

Reviewed-by: kbarrett, sangheki
2018-04-18 11:36:48 +02:00
Thomas Schatzl
9b31b8f365 8201487: Do not rebalance reference processing queues if not doing parallel reference processing
Reviewed-by: sangheki, kbarrett
2018-04-18 11:36:48 +02: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
Alex Menkov
f8f1f3daba 8200195: serviceability/jvmti/FieldAccessWatch/FieldAccessWatch.java crashes with "assert(thread->thread_state() == _thread_in_native) failed: coming from wrong thread state"
Reviewed-by: sspitsyn, cjplummer
2018-04-10 15:33:11 -07: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
Christian Tornqvist
0b26707d47 8201334: Move runtime/NMT/MallocStressTest.java to hotspot_tier3_runtime
Reviewed-by: lfoltan, mseledtsov, mikael
2018-04-10 08:13:06 -04: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
Vladimir Kozlov
6bdeaad21a 8200461: MeetIncompatibleInterfaceArrays test fails with -Xcomp
Add requires to run test only in Xmixed mode.

Reviewed-by: simonis
2018-03-30 07:47:20 -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
b81442dbbc 8200391: clean up test/hotspot/jtreg/ProblemList.txt (compiler related)
Reviewed-by: mseledtsov
2018-03-29 09:52:53 -07:00
Volker Simonis
e8c15436ea 8200360: MeetIncompatibleInterfaceArrays fails with "MeetIncompatibleInterfaceArrays0ASM.run() must be compiled at tier 0 !"
Reviewed-by: kvn, thartmann
2018-03-29 14:50:25 +02:00
Leonid Mesnik
e3d3493329 8200187: Exclude 3 long-running tests from tier1
Reviewed-by: dholmes, cjplummer
2018-03-28 13:25:15 -07:00
Leonid Mesnik
f5dbb7c374 8200091: [TESTBUG] Update jittester for jdk11
Reviewed-by: iignatyev
2018-03-28 13:38:08 -07:00
Alex Menkov
a1ef16545e 8198393: Instrumentation.retransformClasses() throws NullPointerException when handling a zero-length array
Reviewed-by: sspitsyn, cjplummer
2018-03-28 12:10:24 -07:00
Thomas Schatzl
83d7c657c4 8197573: Remove concurrent cleanup and secondary free list handling
Remove secondary free list and all associated functionality, moving the cleanup work into the Cleanup pause instead.

Reviewed-by: sangheki, sjohanss
2018-03-28 16:39:32 +02:00
Per Lidén
24273f04a4 8199925: Break out GC selection logic from GCArguments to GCConfig
Reviewed-by: eosterlund, rkennke
2018-03-28 11:38:47 +02:00
Per Lidén
3b7962d614 8199918: Shorten names of CollectedHeap::Name members
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
Volker Simonis
fe3badf59a 8198915: [Graal] 3rd testcase of compiler/types/TestMeetIncompatibleInterfaceArrays.java takes more than 10 mins
Reviewed-by: kvn, thartmann
2018-03-28 11:27:35 +02:00
Tobias Hartmann
32668d954e 8200227: [Graal] Test times out with Graal due to low compile threshold
Removed unnecessary VM options from test to avoid timeouts with Graal.

Reviewed-by: kvn
2018-03-27 11:13:11 +02:00
Thomas Schatzl
945342f1ef 8193067: gc/g1/TestVerifyGCType.java still unstable
Fix number of gc threads and heap waste percentage to trigger mixed gcs reproducibly

Reviewed-by: sjohanss, pliden
2018-03-27 11:05:01 +02:00
Alex Menkov
4fd65fbdaf 8049695: nsk/jdb/options/connect/connect003 fails with "Launched jdb could not attach to debuggee during 300000 milliseconds"
Reviewed-by: dholmes, sspitsyn, cjplummer
2018-03-26 09:27:24 -07:00
Thomas Schatzl
cd9bd4ecc7 8196485: FromCardCache default card index can cause crashes
The default value of -1 for 32 bit card indices is a regular card value at the border of 2TB heap addresses in the from card cache, so G1 may loose remembered set entries. Extend from card cache entries to 64 bits.

Co-authored-by: Jarkko Miettinen <jarkko.miettinen@relex.fi>
Reviewed-by: shade, sjohanss
2018-03-26 16:51:43 +02:00