Daniel D. Daugherty
e7a1b9bf81
8252981: ObjectMonitor::object() cleanup changes extracted from JDK-8247281
...
Co-authored-by: Erik Österlund <erik.osterlund@oracle.com>
Co-authored-by: Daniel Daugherty <daniel.daugherty@oracle.com>
Reviewed-by: rehn, coleenp, eosterlund
2020-09-11 13:35:34 +00:00
David Holmes
976acddeb5
8252406: Introduce Thread::as_Java_thread() convenience function
...
Reviewed-by: shade, coleenp, kbarrett, dcubed
2020-09-11 01:31:32 +00:00
Yasumasa Suenaga
3e81b3ad48
8242427: JVMTI frame pop operations should use Thread-Local Handshakes
...
Reviewed-by: dcubed, dholmes, pchilanomate, rehn, sspitsyn
2020-09-05 12:42:05 +09:00
Coleen Phillimore
b16a01bb67
8251302: Create dedicated OopStorages for Management and Jvmti
...
Reviewed-by: sspitsyn, dholmes
2020-08-11 07:29:45 -04:00
Coleen Phillimore
9798a0846b
8249837: Avoid direct or implicit Thread::current() calls when we already have a current thread variable
...
Add current thread OR remove unneeded HandleMark
Reviewed-by: kvn, dholmes
2020-07-30 10:41:31 -04:00
Coleen Phillimore
6ee76b6b05
8249760: Unnecessary #include oopStorageSet
...
Reviewed-by: hseigel
2020-07-20 10:53:29 -04:00
Kim Barrett
a8d6a05ce8
8248391: Unify handling of all OopStorage instances in weak root processing
...
OopStorage instance now owned by subsystems, and generalize dead entry notification
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: coleenp, tschatzl
2020-07-16 17:41:14 -04:00
Coleen Phillimore
749be7e761
8247808: Move JVMTI strong oops to OopStorage
...
Remove JVMTI oops_do calls from JVMTI and GCs
Reviewed-by: sspitsyn, stefank, zgu, dholmes, iklam
2020-07-16 08:29:11 -04:00
Aleksey Shipilev
2d3c928f0b
8249137: Remove CollectedHeap::obj_size
...
Reviewed-by: rkennke, tschatzl, cjplummer
2020-07-13 07:39:39 +02:00
Stefan Karlsson
77bdc30650
8247470: Fix CHeap GrowableArray NMT accounting
...
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Harold Seigel
7fc58a1020
8235678: Remove unnecessary calls to Thread::current() in MutexLocker calls
...
Add THREAD argument when available and make Thread* the first argument to relevant MutexLocker and MonitorLocker constructors
Reviewed-by: lfoltan, coleenp, dholmes
2020-01-16 13:48:23 +00:00
Robbin Ehn
e4c96dea46
8235912: JvmtiBreakpoint remove oops_do and metadata_do
...
Reviewed-by: coleenp, sspitsyn
2019-12-19 16:47:59 +01:00
Coleen Phillimore
8846a8043d
8212160: JVMTI agent crashes with "assert(_value != 0LL) failed: resolving NULL _value"
...
Add local deferred event list to thread to post events outside CodeCache_lock.
Reviewed-by: eosterlund, dholmes, sspitsyn
2019-12-05 16:57:17 -05:00
Coleen Phillimore
d1d57d9446
8173658: JvmtiExport::post_class_unload() is broken for non-JavaThread initiators
...
Call extension ClassUnload event as a deferred event from the ServiceThread and remove unsafe arguments
Reviewed-by: sspitsyn, dholmes
2019-12-02 09:02:17 -05:00
Coleen Phillimore
b1d915ef80
8173361: various crashes in JvmtiExport::post_compiled_method_load
...
Don't post information that uses metadata from unloaded nmethods
Reviewed-by: eosterlund, dholmes, sspitsyn
2019-12-02 08:40:52 -05:00
Lois Foltan
fce4320369
8231844: Enhance type signature characters in classfile_constants.h and improve the JVM to use type signature characters more consistently
...
Increase the use of type signature constants instead of hard coded characters within the JVM.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain
2019-10-21 13:13:16 -04:00
Richard Reingruber
a683592254
8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken
...
Reviewed-by: sspitsyn, dholmes, kvn
2019-10-08 15:30:39 +02:00
Coleen Phillimore
6e1aa9065c
8226690: SIGSEGV in MetadataOnStackClosure::do_metadata
...
Dont create nmethod if classes have been redefined since compilation start.
Reviewed-by: sspitsyn, dlong, eosterlund, gdub
2019-09-26 09:22:49 -04:00
Lois Foltan
0c507f3180
8230505: Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type
...
Consistently use is_reference_type when comparing type for T_OBJECT or T_ARRAY.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dlong, coleenp, hseigel
2019-09-23 14:49:04 -04:00
Coleen Phillimore
d1ca6221a4
5103339: Strengthen NoSafepointVerifier
...
Add NSV check at possible safepoint transition or places that could take out locks. Consolidate with clearing unhandled oops.
Reviewed-by: dholmes, rehn
2019-08-14 10:07:00 -04:00
Coleen Phillimore
74b8b47283
8225437: JvmtiExport::gc_epilogue is unnecessary
...
Remove jvmtiExport::gc_epilogue after full GCs
Reviewed-by: dholmes, sspitsyn, dlong
2019-06-27 11:40:18 -04:00
Serguei Spitsyn
1c202572d5
8219023: Investigate syncing JVMTI spec version with JDK version
...
Auto sync versions with the jdk versions
Reviewed-by: dholmes, jcbeyler, cjplummer
2019-05-14 02:07:13 -07:00
Stefan Karlsson
c90f3ee68b
8223624: Cleanup includes of universe.hpp
...
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Coleen Phillimore
fbafef11c0
8222811: Consolidate MutexLockerEx and MutexLocker
...
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.
Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Serguei Spitsyn
ff03f5c84e
8222072: JVMTI GenerateEvents() sends CompiledMethodLoad events to wrong jvmtiEnv
...
Fix GenerateEvents() to send CompiledMethodLoad events to requesting agent only
Reviewed-by: jcbeyler, amenkov
2019-04-10 17:29:03 -07:00
Ioi Lam
22484b8c35
8221698: Remove redundant includes from popular header files
...
Removed histogram.hpp classLoader.hpp utf8.hpp moduleEntry.hpp packageEntry.hpp
Reviewed-by: coleenp, stuefe
2019-03-30 08:26:20 -07:00
Robbin Ehn
046a1f0ff7
8218041: Assorted wrong/missing includes
...
Reviewed-by: dholmes, kbarrett, stefank, shade
2019-01-31 10:31:39 +01:00
Daniel D. Daugherty
2d9925782f
8217658: baseline_cleanups from Async Monitor Deflation project
...
Baseline_cleanups from Async Monitor Deflation project plus a couple of misc others.
Reviewed-by: dholmes, rehn
2019-01-29 14:09:38 -05:00
Claes Redestad
bf63ee682e
8216157: Enable inlining of java_lang_Class::is_primitive
...
Reviewed-by: coleenp, eosterlund, jiangli
2019-01-04 16:23:56 +01:00
Jean Christophe Beyler
f3657753d6
8201655: Add thread-enabled support for the Heap Sampling
...
Added thread-enabled support
Reviewed-by: amenkov, sspitsyn
2018-12-14 13:13:06 -08:00
Thomas Stuefe
abf1e47f29
8213834: JVMTI ResourceExhausted should not be posted in CompilerThread
...
Reviewed-by: dholmes, dcubed, jcbeyler, sspitsyn
2018-11-27 07:54:06 +01:00
Erik Österlund
8b1844626a
8212682: Avoid holding Compile_lock when blocking for GC in ObjArrayKlass::allocate_objArray_klass()
...
Reviewed-by: coleenp, dlong
2018-11-20 10:08:18 +01:00
Ioi Lam
93395f6a9e
8212200: assert when shared java.lang.Object is redefined by JVMTI agent
...
Reviewed-by: dholmes, jiangli, hseigel, lfoltan, sspitsyn
2018-10-17 15:57:10 -07:00
Roman Kennke
89d9a60caa
8212186: JVMTI lacks a few GC barriers/hooks
...
Reviewed-by: eosterlund, shade
2018-10-17 22:26:41 +02:00
Jean Christophe Beyler
b9b522a7ad
8203356: VM Object Allocation Collector can infinite recurse
...
VM Event callback do not provoke a VM alloc event
Reviewed-by: sspitsyn, phh, amenkov, cjplummer
2018-08-30 09:47:12 -07:00
Ioi Lam
bc62b3a40e
8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
...
Added fieldDescriptor.inline.hpp
Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
David Holmes
95bf19563b
8010319: Implementation of JEP 181: Nest-Based Access Control
...
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Jean Christophe Beyler
6129ed590c
8203394: Implementation of JEP 331: Low-Overhead Heap Profiling
...
Implement Low-Overhead Heap Profiling
Reviewed-by: eosterlund, gthornbr, rehn, sspitsyn, tschatzl
2018-06-15 00:49:54 -07:00
Alex Menkov
dbb9eb5b9c
8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled
...
Reviewed-by: sspitsyn, cjplummer
2018-06-04 10:25:44 -07:00
Stefan Karlsson
1cb95bd3d1
8200729: Conditional compilation of GCs
...
Reviewed-by: ehelin, coleenp, kvn, ihse
2018-05-04 11:41:35 +02:00
Stefan Karlsson
1a1aecd166
8200106: Move NoSafepointVerifier out from gcLocker.hpp
...
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Coleen Phillimore
221d0f4c54
8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
...
Remove frame.inline.hpp,etc from header files and adjust transitive includes.
Reviewed-by: stefank, stuefe
2018-03-21 19:45:24 -04:00
Chris Plummer
fcd067c48d
8195109: ServiceUtil::visible_oop is not needed anymore
...
Strip out ServiceUtil and all users of it
Reviewed-by: coleenp, stefank, jcbeyler, sspitsyn
2018-03-21 13:07:19 -07:00
Coleen Phillimore
fde89a34d0
8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
...
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files
Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Stefan Karlsson
b9f2f3e199
8199275: Fix inclusions of allocation.inline.hpp
...
Reviewed-by: coleenp, kbarrett, dholmes
2018-03-08 09:56:29 +01:00
Kim Barrett
d7765d9002
8198474: Move JNIHandles::resolve into jniHandles.inline.hpp
...
Moved resolve and friends to new jniHandles.inline.hpp.
Reviewed-by: tschatzl, pliden, coleenp
2018-03-01 16:51:22 -05:00
Alex Menkov
8abc2c38f7
8161605: The '!UseSharedSpaces' check is not need in JvmtiManageCapabilities::recompute_always_capabilities
...
Reviewed-by: sspitsyn, mseledtsov
2018-02-07 10:25:10 -08: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
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
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00