Coleen Phillimore
3b2585c02b
8276658: Clean up JNI local handles code
...
Reviewed-by: dholmes, pchilanomate
2021-11-12 16:17:15 +00:00
Leonid Mesnik
a5e4def526
8265489: Stress test times out because of long ObjectSynchronizer::monitors_iterate(...) operation
...
Reviewed-by: dcubed
2021-09-08 19:31:18 +00:00
Patricio Chilano Mateo
2fd7943ec1
8256425: Obsolete Biased Locking in JDK 18
...
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
Guoxiong Li
cd678a383f
8268368: Adopt cast notation for JavaThread conversions
...
Reviewed-by: dholmes, stefank
2021-06-23 02:21:24 +00:00
Daniel D. Daugherty
40e4171f56
8264800: cleanup Threads_lock comments in JVM/TI function headers
...
Reviewed-by: coleenp, rehn, dholmes, sspitsyn
2021-06-01 18:51:40 +00:00
Robbin Ehn
86bd44fe80
8257831: Suspend with handshakes
...
Reviewed-by: dcubed, rrich, dholmes, pchilanomate, sspitsyn
2021-04-22 10:30:47 +00:00
David Holmes
c6d74bd933
8262910: Cleanup THREAD/TRAPS/naming and typing issues in ObjectMonitor and related code
...
Reviewed-by: coleenp, pchilanomate, dcubed, cjplummer, sspitsyn
2021-03-10 22:33:56 +00:00
Ioi Lam
ffbcf1b0a7
8260471: Change SystemDictionary::X_klass calls to vmClasses::X_klass
...
Reviewed-by: lfoltan, hseigel, dholmes, stuefe
2021-02-02 23:40:29 +00:00
Ioi Lam
535c2927b6
8260306: Do not include osThread.hpp in thread.hpp
...
Reviewed-by: coleenp, lfoltan
2021-01-24 02:40:57 +00:00
Ioi Lam
02a0a027f4
8257563: Remove excessive include of klass.inline.hpp
...
Reviewed-by: dholmes, stuefe, stefank
2020-12-03 01:34:04 +00:00
Coleen Phillimore
2508bc7c58
8257140: Crash in JvmtiTagMap::flush_object_free_events()
...
Reviewed-by: sspitsyn, kbarrett
2020-12-02 14:09:55 +00:00
Erik Österlund
5b185585e8
8255243: Reinforce escape barrier interactions with ZGC conc stack processing
...
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: rrich, sspitsyn
2020-10-29 14:18:11 +00:00
Robbin Ehn
4634dbef6d
8223312: Utilize handshakes instead of is_thread_fully_suspended
...
Reviewed-by: dholmes, rrich, dcubed, eosterlund
2020-10-22 15:16:50 +00:00
Richard Reingruber
40f847e2fb
8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents
...
8233915: JVMTI FollowReferences: Java Heap Leak not found because of C2 Scalar Replacement
Reviewed-by: mdoerr, goetz, sspitsyn, kvn
2020-10-20 15:31:55 +00:00
Stefan Karlsson
db9dcdf1ae
8254668: JVMTI process frames on thread without started processing
...
Reviewed-by: eosterlund, rrich
2020-10-14 10:29:15 +00:00
Robbin Ehn
6bddeb709d
8238761: Asynchronous handshakes
...
Reviewed-by: pchilanomate, dcubed, dholmes, coleenp, sspitsyn
2020-09-29 08:50:54 +00:00
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
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
Yasumasa Suenaga
f84b5d2f80
8248362: JVMTI frame operations should use Thread-Local Handshake
...
Reviewed-by: sspitsyn, dholmes, dcubed
2020-07-27 15:49:53 +09:00
Thomas Schatzl
6d665ed31f
8249192: MonitorInfo stores raw oops across safepoints
...
Change raw oops in MonitorInfo to Handles and update Resource/HandleMarks.
Reviewed-by: sspitsyn, dholmes, coleenp, dcubed
2020-07-23 21:10:52 +02:00
Yasumasa Suenaga
faf4d7ccb7
8242428: JVMTI thread operations should use Thread-Local Handshake
...
Reviewed-by: dcubed, sspitsyn, dholmes
2020-07-11 23:28:02 +09:00
Yasumasa Suenaga
5ad963cf61
8248379: Handshake closures for JVMTI monitor functions lack of some validations
...
Reviewed-by: sspitsyn, dholmes
2020-06-29 13:35:45 +09:00
Yasumasa Suenaga
cd3354756a
8247729: GetObjectMonitorUsage() might return inconsistent information
...
Reviewed-by: dholmes, dcubed, sspitsyn
2020-06-19 16:09:49 +09:00
Stefan Karlsson
77bdc30650
8247470: Fix CHeap GrowableArray NMT accounting
...
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Robbin Ehn
6a2e3ca206
8247248: JVM TI Monitor queries might create JNI locals in another thread when using handshakes
...
Reviewed-by: dholmes, dcubed, sspitsyn, ysuenaga
2020-06-11 10:00:23 +02:00
Daniel D. Daugherty
00f223e22f
8153224: Monitor deflation prolong safepoints
...
Add support for AsyncDeflateIdleMonitors (default true); the async deflation work is performed by the ServiceThread.
Co-authored-by: Carsten Varming <varming@gmail.com>
Reviewed-by: dcubed, rehn, rkennke, cvarming, coleenp, acorn, dholmes, eosterlund
2020-06-01 23:37:14 -04:00
Yasumasa Suenaga
efcb6bd20e
8242425: JVMTI monitor operations should use Thread-Local Handshakes
...
Reviewed-by: sspitsyn, dholmes
2020-04-20 13:57:11 +09:00
Robbin Ehn
21e03e71aa
8234796: Refactor Handshake::execute to take a more complex type than ThreadClosure
...
Reviewed-by: dholmes, pliden, coleenp
2019-12-03 15:32:41 +01:00
David Holmes
1d50b2761c
8229516: Thread.isInterrupted() always returns false after thread termination
...
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -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
David Holmes
f3df804e24
8231289: Disentangle JvmtiRawMonitor from ObjectMonitor and clean it up
...
Reviewed-by: sspitsyn, dcubed, coleenp
2019-10-07 18:44:53 -04:00
Patricio Chilano Mateo
85dbabe345
8229844: Remove attempt_rebias parameter from revoke_and_rebias()
...
Removed attempt_rebias parameter and merged fast_enter() and slow_enter() into enter()
Reviewed-by: dholmes, rehn, coleenp, dcubed
2019-08-27 20:10:06 +00:00
Stefan Karlsson
ae5615c614
8229258: Rework markOop and markOopDesc into a simpler mark word value carrier
...
Reviewed-by: rkennke, coleenp, kbarrett, dcubed
2019-08-06 10:48:21 +02:00
Daniil Titov
6ad0d8a6c7
8217348: assert(thread->is_Java_thread()) failed: just checking
...
Reviewed-by: sspitsyn, dholmes, amenkov, jcbeyler
2019-06-17 14:31:49 -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
Thomas Schatzl
528361f7ae
8214850: Rename vm_operations.?pp files to vmOperations.?pp files
...
Reviewed-by: dholmes, coleenp
2018-12-06 15:44:40 +01:00
Coleen Phillimore
7ef28cb2bc
8209645: Split ClassLoaderData and ClassLoaderDataGraph into separate files
...
Reviewed-by: iklam, stuefe
2018-09-28 16:07:39 -04:00
Coleen Phillimore
eb9259138f
8210155: Lock ClassLoaderDataGraph
...
In preparation for concurrent class unloading.
Reviewed-by: hseigel, eosterlund
2018-08-31 07:03:46 -04:00
Goetz Lindenmaier
8a9b0134a8
8206977: Minor improvements of runtime code
...
Reviewed-by: coleenp, lfoltan
2018-07-11 16:11:10 +02:00
Coleen Phillimore
1ee531afe9
8200555: OopHandle should use Access API
...
Add RootAccess<> to OopHandle.resolve() in runtime and interpreter code. Add comments for compiler code for later.
Reviewed-by: eosterlund, stefank
2018-04-18 10:39:40 -04: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
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
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
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
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
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
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00