3805 Commits

Author SHA1 Message Date
Roland Westrelin
002aff0a75 8190375: Java Crash in JavaBug.formatPos(I)Ljava/lang/String
Skip the logic that set the value of the Phi iv if the exit condition is "not equal"

Reviewed-by: thartmann, mdoerr
2017-11-13 14:53:28 -05:00
Roman Kennke
09a9ab8f41 8189171: Move GC argument processing into GC specific classes
Reviewed-by: pliden, eosterlund
2017-11-07 11:58:52 +01:00
Stefan Johansson
ed950d3513 8189734: Cleanup MarkSweep when G1 dependency is gone
Reviewed-by: sangheki, tschatzl
2017-11-15 17:05:28 +01:00
Robbin Ehn
572c174edf 8190925: Deprecate FastTLABRefill and set default off
Reviewed-by: dholmes, mlarsson
2017-11-14 10:09:21 +01:00
Paul Sandoz
e55a05957d 8186209: Tool support for ConstantDynamic
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Gerard Ziemski
2cb1917bac 8181503: Can't compile hotspot with c++11
Fixed 5 unique c++14 compiler issues

Reviewed-by: coleenp, dholmes, kbarrett
2018-01-31 11:12:12 -06: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
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
Matthias Baesken
b2609808df 8195857: Remove os::is_headless_jre
Reviewed-by: goetz, dholmes
2018-01-28 19:49:06 -05:00
Kim Barrett
48e6e1e6c4 8195979: [Graal] crash in src/hotspot/share/runtime/mutex.cpp:1341 when Graal JIT is used
Reduce JNI oopstorage lock ranks to be more special than "special".

Reviewed-by: coleenp, acorn, eosterlund
2018-01-24 18:00:36 -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
Kim Barrett
2d847b1eb6 8195690: JNI GetObjectRefType doesn't handle NULL
Properly handle NULL, add some non-NULL preconditions.

Reviewed-by: dholmes, mdoerr
2018-01-23 14:27:10 -05:00
Goetz Lindenmaier
490d2ce747 8195776: [x86,sparc] A row of minor fixes and enhancements
Reviewed-by: kvn
2018-01-19 17:01:34 +01:00
Martin Doerr
0ddc8c6900 8195691: AIX build broken after 8194312
Reviewed-by: kbarrett, goetz
2018-01-22 12:04:12 +01:00
Harold Seigel
e52d643ff5 8194086: Remove deprecated experimental flag UseCGroupMemoryLimitForHeap
Remove the option and the code that checks for it.

Reviewed-by: dholmes, lfoltan
2018-01-22 14:04:07 -05:00
Ioi Lam
a3cb6e9204 8178351: Simplify MetaspaceShared::is_in_shared_space and MetaspaceObj::is_shared
Use a single range check with MetaspaceObj::_shared_metaspace_{base,top}

Reviewed-by: jiangli, redestad, shade
2018-01-16 16:57:53 -08:00
Tom Rodriguez
99725d3ea6 8192004: InspectedFrame.materializeVirtualObjects only updates locals with new objects
Reviewed-by: kvn, sspitsyn, phh
2018-01-18 09:01:00 -08:00
Alex Menkov
7c6a67a268 8187447: 2081 doc issues in jvmti.html
Reviewed-by: sspitsyn, dtitov
2018-01-17 09:43:14 -08: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
Erik Österlund
027d478e6d 8195107: CDS broken due to 8194741
Reviewed-by: coleenp
2018-01-15 15:18:27 +01:00
Erik Österlund
3a7a71981a 8194741: Refactor oops in constant pool from CDS to use the Access API
Reviewed-by: coleenp, jiangli
2018-01-10 22:43:42 +01:00
Per Lidén
27cf4b91d1 8195000: Remove unused left-overs in arguments.hpp
Reviewed-by: stefank
2018-01-12 16:19:56 +01:00
Erik Österlund
af5670373e 8194736: Refactor weak oops in ProtectionDomain table to use the Access API
Reviewed-by: coleenp, pliden
2018-01-10 22:40:47 +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
Tobias Hartmann
b0c9129d6c 8190797: OSR compilation fails with "assert(__the_thread__->can_call_java()) failed: can not load classes with compiler thread"
Bail out with a meaningful error message in case we cannot throw a Java exception.

Reviewed-by: kvn, dholmes
2017-11-10 13:10:54 +01:00
Robbin Ehn
f6750599ef 8187809: UseMembar should be set true and deprecate the flag
Reviewed-by: dcubed, sspitsyn, dholmes
2017-11-10 09:16:42 +01:00
Roland Westrelin
85d2a057a4 8186125: "DU iteration must converge quickly" assert in split if with unsafe accesses
Added missing checks for Opaque4Node in split-if code

Reviewed-by: kvn
2017-11-09 12:43:13 -08:00
Roman Kennke
04e375658c 8183542: Factor out serial GC specific code from GenCollectedHeap into its own subclass
Reviewed-by: kbarrett, jgeorge
2017-10-25 10:05:17 +02:00
Brent Christian
ac52bdcdd1 8185925: StackFrameInfo::walker field can be replaced with bitmap to save footprint
8153682: StackFrameInfo.declaringClass could be removed

Reviewed-by: coleenp, mchung
2017-11-09 11:13:50 -08:00
Stefan Johansson
09c2ca5809 8190711: Assert in G1MMUTracker due to concurrent modification
Reviewed-by: tschatzl, rehn, sangheki
2017-11-09 10:11:19 +01:00
Jini George
02b4fc7985 8189798: SA cleanup - part 1
Avoid varible redefinitions in SA, modify SA varible names to match hotspot ones

Reviewed-by: sspitsyn, coleenp, sballal
2017-11-09 12:12:32 +05:30
Coleen Phillimore
a68609ede5 Merge 2017-11-08 16:03:35 -05:00
Ioi Lam
3063beded5 8186778: Make obsolete VM options for shared region size control
Obsoleted SharedReadOnlySize, SharedMiscCodeSize, SharedMiscDataSize and SharedReadWriteSize

Reviewed-by: dholmes
2017-11-08 09:03:24 -08:00
John Paul Adrian Glaubitz
9f9e85e9ad 8190570: Zero fails to build on linux-sparc due undefined reference
Reviewed-by: coleenp
2017-11-06 19:45:47 +01:00
Doug Simon
f37bbe430d 8188102: [JVMCI] Convert special JVMCI oops in nmethod to jweak values
Reviewed-by: never, kvn, kbarrett
2017-11-06 12:53:55 +01:00
Doug Simon
67b21ffa1d 8186478: [JVMCI] rename HotSpotResolvedJavaMethod#setNotInlineableOrCompileable
Reviewed-by: kvn, thartmann
2017-11-06 12:17:59 +01:00
Thomas Schatzl
5815fc9d54 8140255: Move the management of G1YoungRemSetSamplingThread from G1ConcurrentRefine
Reviewed-by: sjohanss, sangheki
2017-11-06 14:25:18 +01:00
Thomas Schatzl
b59c920e12 8149127: Rename g1/concurrentMarkThread.* to g1/g1ConcurrentMarkThread.*
Reviewed-by: sjohanss, sangheki
2017-11-06 14:24:31 +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
Doug Simon
18e9e80688 8190415: [JVMCI] JVMCIRuntime::adjust_comp_level must not swallow ThreadDeath
Reviewed-by: never, thartmann
2017-11-06 09:44:42 +01:00
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
Erik Gahlin
5a9432a16b 8189440: Event tracing macros for allocation and weak oops processing
Reviewed-by: dholmes, mgronlun
2017-11-05 06:11:10 +01:00
Erik Gahlin
249ea8369e 8189425: Minor updates in support of closed changes
Reviewed-by: mgronlun, dholmes
2017-11-05 03:43:15 +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