1287 Commits

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