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
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
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
Alex Menkov
7c6a67a268
8187447: 2081 doc issues in jvmti.html
...
Reviewed-by: sspitsyn, dtitov
2018-01-17 09:43:14 -08:00
Jesper Wilhelmsson
fc1b01b9a2
Merge
2018-01-13 02:56:22 +01:00
Lana Steuck
8f528fba93
Merge
2018-01-18 18:58:46 +00:00
Lana Steuck
aad1a3592c
Merge
2018-01-16 22:24:20 +00:00
Kim Barrett
9e5bf18428
8194406: Use Atomic::replace_if_null
...
Reviewed-by: coleenp, dholmes
2018-01-04 18:18:18 -05:00
Vladimir Ivanov
1b558514ff
8188145: MethodHandle resolution should follow JVMS sequence of lookup by name & type before type descriptor resolution
...
Reviewed-by: kvn, psandoz
2018-01-12 01:52:06 +03:00
Abhijit Saha
f96c816c07
Merge
2018-01-12 15:05:35 -08:00
Erik Österlund
647501969f
8191894: Refactor weak references in JvmtiTagHashmap to use the Access API
...
Reviewed-by: sspitsyn, coleenp
2018-01-08 15:12:05 +01:00
Erik Österlund
c6bbed9592
8191904: Refactor weak oops in ResolvedMethodTable to use the Access API
...
Reviewed-by: kbarrett, coleenp
2018-01-08 15:09:18 +01:00
David Holmes
b1001c7d7d
8193222: EnsureLocalCapacity() should maintain capacity requests through multiple calls
...
Reviewed-by: coleenp, dcubed
2017-12-12 19:06:19 -05:00
Tobias Hartmann
23424e9e0a
8191360: Lookup of critical JNI method causes duplicate library loading with leaking handler
...
Unload shared library after lookup to avoid keeping it live.
Reviewed-by: vlivanov, dholmes
2017-12-05 08:27:54 +01:00
Jesper Wilhelmsson
48d81c1e0c
Merge
2017-12-02 06:51:10 +01:00
Erik Österlund
6dc1d8c06d
8186787: clang-4.0 SIGSEGV in Unsafe_PutByte
...
Reviewed-by: coleenp, dholmes, aph, dsamersoff, kbarrett
2017-11-30 20:37:20 +01:00
Sean Mullan
4da03ba907
8186535: Remove deprecated pre-1.2 SecurityManager methods and fields
...
Reviewed-by: alanb, coleenp, hseigel, mchung
2017-11-30 07:54:28 -05:00
Chris Hegarty
a2000f8720
8179424: Remove terminally deprecated sun.reflect.Reflection.getCallerClass
...
Reviewed-by: alanb, dfuchs, dholmes, lancea, mchung, rriggs
2017-12-22 15:55:29 +00:00
Ioi Lam
c7421b5e3b
8193672: [test] Enhance vm.cds property to check for all conditions required to run CDS tests
...
Reviewed-by: dholmes, dsamersoff, simonis
2017-12-04 08:59:47 -08:00
Stefan Karlsson
58dd5210ec
8192061: Clean up allocation.inline.hpp includes
...
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00
Yasumasa Suenaga
b25c9ddbae
8165736: Error message should be shown when JVMTI agent cannot be attached
...
Reviewed-by: sspitsyn, dholmes
2017-11-29 09:26:58 +09:00
Jiangli Zhou
61e736cbae
8188791: Move AppCDS from closed repo to open repo
...
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: dsamersoff, simonis, minqi
2017-11-27 20:21:34 -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
Erik Österlund
3e5e2f03b1
8189871: Refactor GC barriers to use declarative semantics
...
Reviewed-by: pliden, rkennke, coleenp, dholmes, kbarrett, stefank
2017-11-20 13:07:44 +01:00
Mikhailo Seledtsov
eadfc06bd0
8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration
...
Created tests for the feature
Reviewed-by: bobv, iignatyev
2017-11-16 19:01:01 -08: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
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
Jiangli Zhou
c2d94a0073
8189840: CheckCachedResolvedReferencesApp has no cached resolved references
...
Add WhiteBox.areOpenArchiveHeapObjectsMapped() for CheckCachedResolvedReferencesApp to check and skip test when open archive heap objects are not mapped.
Reviewed-by: iklam, ccheung
2017-11-07 18:48:17 -05:00
Doug Simon
40cdb9fd60
8187315: [JVMCI] hosted use of JVMCI can crash VM under -Xint
...
Reviewed-by: kvn, dlong
2017-11-06 21:38: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
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
Thomas Schatzl
0757704af2
8184667: Clean up G1ConcurrentMark files
...
Fix naming, formatting, access control, remove unused code.
Reviewed-by: sjohanss, pliden
2017-10-23 11:46:12 +02:00
David Holmes
817d6bc039
8189776: Remove dead code in jvm.cpp: force_verify_field_access
...
Reviewed-by: redestad
2017-10-23 03:15:19 -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
Magnus Ihse Bursie
da4336daaf
Merge
2017-10-19 14:15:06 +02:00
Magnus Ihse Bursie
7c78b40f8d
8189608: Remove duplicated jni.h
...
Reviewed-by: erikj, dholmes, coleenp
2017-10-19 11:59:52 +02:00
Erik Österlund
29eea5d4a1
8189355: Cleanup of BarrierSet barrier functions
...
Reviewed-by: shade, kbarrett, pliden, rkennke
2017-10-19 11:25:55 +02:00
Magnus Ihse Bursie
250160bf99
8189607: Remove duplicated jvmticmlr.h
...
Reviewed-by: sspitsyn, dholmes, erikj
2017-10-18 14:31:10 +02:00
Coleen Phillimore
39b068db11
8188220: Remove Atomic::*_ptr() uses and overloads from hotspot
...
With the new template functions these are unnecessary.
Reviewed-by: kbarrett, dholmes, eosterlund
2017-10-16 22:36:06 -04:00
Roman Kennke
d19e0c0bb2
8189333: Fix Zero build after Atomic::xchg changes
...
Reviewed-by: dholmes
2017-10-15 17:37:29 -04: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
Jesper Wilhelmsson
b708f0ddbd
Merge
2017-10-04 21:02:13 +02: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
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Stefan Karlsson
dbc915dcb9
8191860: Add perfData.inline.hpp
...
Reviewed-by: ehelin, pliden
2017-11-24 15:21:30 +01: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
Rachel Protacio
1a773b8464
8181664: Improve JVM UTF String handling
...
Reviewed-by: mschoene, coleenp, rhalade, acorn, gtriantafill
2017-06-12 13:58:09 -04:00