Commit Graph

6189 Commits

Author SHA1 Message Date
Jamsheed Mohammed C M
ef98509665 8167408: Invalid critical JNI function lookup
Made correction to arg_size calculation in NativeLookup::lookup_critical_entry

Reviewed-by: dholmes, dlong, mdoerr, vlivanov
2017-11-06 00:30:36 -08: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
Igor Ignatyev
92254a72a4 8186618: [TESTBUG] Test applications/ctw/Modules.java doesn't have timeout and hang on windows
Reviewed-by: jwilhelm, epavlova
2017-10-31 16:31:39 -07:00
Coleen Phillimore
e908052a71 8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
Removed hotspot version of jvm*h and jni*h files.

Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04:00
Tobias Hartmann
832d68597e 8190351: InitialAndMaxUsageTest does not free allocated blob
Refactored test to add blob to free list and changed the allocation loop to start with blobs of size ~36 Mb.

Reviewed-by: kvn
2017-10-31 09:33:47 +01:00
Sangheon Kim
4101ba9a13 8185278: TestGreyReclaimedHumongousObjects.java fails guarantee(index != trim_index(_head_index + 1)) failed: should not go past head
Add STS to avoid MMU concurrency problem between VM Thread and Concurrent Mark Thread

Reviewed-by: tschatzl, ehelin
2017-10-26 21:30:48 -07:00
Roland Westrelin
3a205924e4 8188151: "assert(entry_for(catch_pco, handler_bcis->at(i), scope_depth)->pco() == handler_pcos->at(i))" failure with C1
Reviewed-by: kvn, dlong
2017-10-10 14:05:04 +02:00
Sharath Ballal
b7dc6e4e41 8189061: serviceability/sa/TestInstanceKlassSize.java - Unable to find instance klass for null
Reviewed-by: jgeorge, dholmes
2017-10-24 15:44:29 +05:30
Jamsheed Mohammed C M
dc50d0a8b2 8168712: [AOT] assert(false) failed: DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_base: last_sp != NULL
Skip the assert for this specific case, as it is not an issue.

Reviewed-by: coleenp, dlong, kvn
2017-10-24 06:06:56 -07: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
Yasumasa Suenaga
9ab8cd5bc2 8194249: SA: G1HeapRegionTable#getByAddress() returns incorrect HeapRegion
Fix conversion of addresses to HeapRegions.

Reviewed-by: jgeorge, tschatzl
2018-01-31 11:35:42 +01: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
Daniel Stewart
ae9a3ef830 8195621: JTReg failure: gc/g1/TestLargePageUseForAuxMemory.java
Decrease amount of committed space for the test.

Reviewed-by: tschatzl, stuefe
2018-01-30 10:38:17 +01:00
Kim Barrett
72b9968396 8194898: Move OopStorage inline definitions to an .inline.hpp
Reviewed-by: coleenp, hseigel
2018-01-29 16:51:21 -05: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
Rickard Bäckman
6f1c27a2c9 8191915: JCK tests produce incorrect results with C2
Reviewed-by: thartmann, vlivanov, goetz
2018-01-18 19:21:11 +01:00
Martin Doerr
0ddc8c6900 8195691: AIX build broken after 8194312
Reviewed-by: kbarrett, goetz
2018-01-22 12:04:12 +01:00
Marcus Larsson
8ccf366ee6 8170941: Executing gtest with invalid -Xlog argument crashes gtestLauncher
Reviewed-by: rehn, stuefe
2018-01-23 08:55:47 +01:00
Igor Ignatyev
a400b9417f 8195729: compiler.aot.AotCompiler should be run as a driver
Reviewed-by: kvn, mseledtsov
2018-01-18 16:57:54 -08:00
Igor Ignatyev
fff718badb 8195724: compiler.calls.common.InvokeDynamicPatcher can be run as driver
Reviewed-by: kvn
2018-01-18 16:57:51 -08:00
Igor Ignatyev
71a40bce38 8186635: ClassFileInstaller should be run as a driver
Reviewed-by: dholmes
2018-01-17 21:44:44 -08:00
Daniil Titov
20dfdc0720 8153629: Need to cover JVMTI's GetOwnedMonitorStackDepthInfo function
Reviewed-by: sspitsyn, cjplummer
2018-01-17 16:49:43 -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
Kim Barrett
e1356ec6cf 8194312: Support parallel and concurrent JNI global handle processing
Add OopStorage, change JNI gloabl/weak to use OopStorage.

Reviewed-by: coleenp, sspitsyn, eosterlund
2017-11-21 09:47:55 -05:00
Jesper Wilhelmsson
3c2e5acfce Merge 2018-01-13 02:56:22 +01: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
Roman Kennke
7030019135 8171853: Remove Shark compiler
Reviewed-by: dholmes, kvn, erikj, ihse
2017-10-15 22:54:03 +02: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
Serguei Spitsyn
ba7368fbd6 Merge 2017-10-21 00:06:50 +00:00
Yasumasa Suenaga
c4706f598d 8151815: Could not parse core image with JSnap
Reviewed-by: dholmes, sspitsyn
2017-10-21 07:00:23 +09:00
Dean Long
e7270b8965 8132547: [AOT] support invokedynamic instructions
Reviewed-by: iveresov, kvn
2017-10-19 19:23:48 -07:00
Serguei Spitsyn
41d19c4a10 8173936: [TESTBUG] test/serviceability/jvmti/ModuleAwareAgents/ClassFileLoadHook/MAAClassFileLoadHook.java needs to be re-examined
Expect CFLH events only if can_generate_early_vmstart capability is enabled

Reviewed-by: dholmes, gtriantafill
2017-10-17 14:37:01 -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
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
Sangheon Kim
e4cf0cb437 8188245: [Testbug] test/hotspot/jtreg/gc/logging/TestPrintReferences.java can fail
Changed to use BigDecimal to solve double rounding issue

Reviewed-by: sjohanss, eosterlund
2017-10-19 11:31:52 -07:00
Magnus Ihse Bursie
7c78b40f8d 8189608: Remove duplicated jni.h
Reviewed-by: erikj, dholmes, coleenp
2017-10-19 11:59:52 +02: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
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
Mandy Chung
4c1297b778 8188052: JNI FindClass needs to specify the class loading context used for library lifecycle hooks
Reviewed-by: alanb, coleenp, dholmes
2017-10-10 11:52:42 -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
Roland Westrelin
844e594fec 8187822: C2 conditonal move optimization might create broken graph
Reviewed-by: kvn
2017-09-27 16:17:47 +02:00
Jesper Wilhelmsson
b708f0ddbd Merge 2017-10-04 21:02:13 +02:00
Coleen Phillimore
cc04ffc7b3 Merge 2017-10-03 21:21:35 +00:00
Coleen Phillimore
73a801bc43 8186777: Make Klass::_java_mirror an OopHandle
Add indirection for fetching mirror so that GC doesn't have to follow CLD::_klasses

Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: hseigel, thartmann, eosterlund, stefank
2017-10-03 16:42:04 -04: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
Igor Ignatyev
5b3ed372a9 Merge 2017-10-03 06:48:40 +02:00
Ioi Lam
5cfa508043 Merge 2017-10-03 03:30:11 +00:00
David Holmes
1590eaa3b8 8188246: Add test/hotspot/jtreg/gc/logging/TestPrintReferences.java to ProblemList.txt
Reviewed-by: dcubed
2017-10-02 21:58:22 -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
Ekaterina Pavlova
853f26ed15 8185134: [Graal] Introduce vm.graal predicate and tag tests which are not applicable for Graal
Reviewed-by: kvn, dnsimon
2017-10-02 14:31:34 -07:00
Serguei Spitsyn
87a8a4301f Merge 2017-09-30 01:38:57 +00:00
Yasumasa Suenaga
12a11f2c65 8175816: SA: HSDB: Compute Liveness results in java.lang.IndexOutOfBoundsException
Reviewed-by: sspitsyn, jgeorge
2017-09-29 20:57:48 +09:00
Calvin Cheung
7a446900da 8187884: [TESTBUG] compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading failed with ClassNotFoundException
Reviewed-by: kvn
2017-09-25 14:23:18 -07:00
Martin Doerr
d0dc2dd231 8185979: PPC64: Implement SHA2 intrinsic
Co-authored-by: Bruno Rosa <bruno.rosa@eldorado.org.br>
Co-authored-by: Gustavo Serra Scalet <gustavo.scalet@eldorado.org.br>
Co-authored-by: Igor Nunes <igor.nunes@eldorado.org.br>
Reviewed-by: mdoerr, goetz
2017-09-25 17:40:06 +02:00
Erik Joelsson
467119a352 8187445: Forest Consolidation: Make tests work
Reviewed-by: darcy, ihse
2017-09-12 19:03:59 +02:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Serguei Spitsyn
4073e46a77 Merge 2017-10-17 23:05:35 +00:00
Ioi Lam
a7a78668a0 Merge 2017-10-17 22:02:10 +00:00
Serguei Spitsyn
93a32c3900 Merge 2017-10-17 21:50:22 +00: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
Igor Veresov
65ed45cd3d 8189409: [AOT] Fix paths in aot test scripts
Reviewed-by: kvn, gtriantafill
2017-10-17 13:52:52 -07:00
Tobias Hartmann
34622112b6 8189067: SuperWord optimization crashes with "assert(out == prev || prev == __null) failed: no branches off of store slice"
Only move the store if the LCA of all users is outside of the loop. Re-enable UseSubwordForMaxVector.

Reviewed-by: kvn, roland
2017-10-13 14:02:01 +02:00
Igor Ignatyev
9f006db9f8 8187020: AOT tests should not fail if devkit dependency isn't resolved
Reviewed-by: kvn
2017-09-01 15:28:54 -07:00
Sangheon Kim
c56b6c1c4f 8186465: Each j.l.Reference elapsed time log is incorrect
Fixed wrongly referencing variable and updated regression test to compare each elapsed time vs. sum of those

Reviewed-by: stefank, tschatzl
2017-09-28 12:13:57 -07: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
Tobias Hartmann
e840fdf694 8187780: VM crashes while generating replay compilation file
Fixed two problems with generation of replay file.

Reviewed-by: kvn
2017-09-28 11:02:55 +02: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
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
Roland Westrelin
eb10d407d3 8191887: assert(b->is_Bool()) in PhaseIdealLoop::clone_iff() due to Opaque4 node
Add special handling for graph shape If->Opaque4->Bool->CmpP

Reviewed-by: kvn
2017-11-27 16:05:11 -08:00
Jini George
d0120db1fd 8191919: Include TestJhsdbJstackLock.java in ProblemList.txt
Reviewed-by: dcubed
2017-11-27 15:26:55 -05:00
Roland Westrelin
1c25161036 8191153: assert(u_ctrl != blk1 && u_ctrl != blk2) failed: won't converge
Relax assert

Reviewed-by: kvn
2017-11-27 10:44:19 -08:00
Erik Helin
01e9cb7e23 8080345: With perm gen gone, perfdata counter sun.gc.policy.generations should be 2, not 3
Co-authored-by: Y. Srinivas Ramakrishna <ysr1729@gmail.com>
Reviewed-by: sjohanss, tschatzl
2017-11-27 10:51:31 +01:00
Yasumasa Suenaga
627a32d672 8185796: jstack and clhsdb jstack should show lock objects
Modifications to display monitor details with SA jstack

Reviewed-by: sspitsyn, jgeorge
2017-11-27 11:20:38 +05:30
Rahul Raghavan
fa19052aa4 8191313: compiler/runtime/SpreadNullArg.java fails in tier1
Corrected SpreadNullArg.java test to expect NullPointerException after 8157246 fix

Reviewed-by: dcubed, mchung
2017-11-26 09:05:13 -08: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
4fd0863d06 Merge 2017-11-23 19:42:56 -08: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
Thomas Schatzl
c5ce7408b3 8182050: assert(_whole_heap.contains(p)) failed: Attempt to access p out of bounds of card marking array's _whole_heap
Ignore zero-sized MemRegions to invalidate in G1SATBCardTableLoggingModRefBS::invalidate()

Reviewed-by: ehelin, sjohanss
2017-11-23 15:51:06 +01:00
Christian Tornqvist
cd0c6d0fae 8191768: Introduce a concurrency factor to be able to scale up or down jtreg concurrency when running Hotspot tests
Reviewed-by: erikj
2017-11-22 14:31:48 -05:00
Alexander Harlap
cb1ea0fc33 8187819: gc/TestFullGCALot.java fails on jdk10 started with "-XX:-UseCompressedOops" option
Need to initialized metaspace performance counters before their potential use

Reviewed-by: tschatzl, sjohanss
2017-11-16 14:06:44 -05:00
Vladimir Ivanov
fa8b858052 8174962: Better interface invocations
Reviewed-by: jrose, coleenp, ahgross, acorn, iignatyev
2017-05-26 18:39:27 +03:00