Coleen Phillimore
b978ebee46
8244386: convert runtime/Safepoint/AssertSafepointCheckConsistency tests to gtest
...
Reviewed-by: stuefe, lfoltan, dcubed
2020-08-26 07:55:05 -04:00
Coleen Phillimore
0c9e0c2e7f
8244997: Convert the JavaThread::_threadObj oop to use OopStorage
...
Move the oop and handle releasing it in the service thread. Remove Universe::oops_do from callers.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: dholmes, zgu, eosterlund, cjplummer
2020-08-07 07:53:26 -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
Doug Simon
f2e69156c8
8250556: revert JVMCI part of JDK-8230395
...
Reviewed-by: never, dholmes
2020-07-27 22:59:27 +02:00
Mikael Vidstedt
ec074011a4
Merge
2020-07-19 21:34:28 -07:00
Jamsheed Mohammed C M
d63aebe6cb
8246381: VM crashes with "Current BasicObjectLock* below than low_mark"
...
Save and restores "donotunlock" flag in check_and_handle_async_exceptions
Reviewed-by: coleenp, dholmes
2020-07-16 08:28:55 -07:00
Jesper Wilhelmsson
6b8bf62a75
Merge
2020-07-03 00:14:21 +02:00
Markus Grönlund
5a90271d01
8237488: jdk/jfr/event/compiler/TestCompilerCompile.java failed due to "RuntimeException: No thread in event"
...
Reviewed-by: egahlin
2020-07-02 21:13:41 +02:00
Stefan Karlsson
77bdc30650
8247470: Fix CHeap GrowableArray NMT accounting
...
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Per Lidén
06e47d05b6
8246622: Remove CollectedHeap::print_gc_threads_on()
...
Reviewed-by: stefank, tschatzl, sjohanss
2020-06-05 15:22:53 +02:00
Stefan Karlsson
a809ff0e3f
8246434: Threads::print_on_error assumes that the heap has been set up
...
Reviewed-by: dholmes
2020-06-03 14:34:35 +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
Kim Barrett
d3042cc401
8245594: Remove volatile-qualified member functions and parameters from oop class
...
Remove volatile qualifications in oop and derived classes; use Atomic for access.
Reviewed-by: dholmes, coleenp
2020-05-25 16:21:25 -04:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
David Holmes
17dd7dc38c
8240588: _threadObj cannot be used on an exiting JavaThread
...
Reviewed-by: rehn, dcubed, kbarrett
2020-05-13 22:29:54 -04:00
Patricio Chilano Mateo
d19f5f6830
8242484: Rework thread deletion during VM termination
...
Always delete JavaThread that calls Thread::destroy_vm()
Reviewed-by: dholmes, rehn, coleenp
2020-04-21 17:50:48 +00:00
Patricio Chilano Mateo
89a33e69a7
8240918: [REDO] Allow direct handshakes without VMThread intervention
...
REDO of 8230594
Reviewed-by: dholmes, rehn, mdoerr, coleenp, dcubed
2020-04-08 18:32:21 +00:00
David Holmes
cf22d4440a
8239895: assert(_stack_base != 0LL) failed: Sanity check
...
Reviewed-by: dcubed, stuefe
2020-04-02 19:13:27 -04:00
Robbin Ehn
bf41f548e1
8220051: Remove global safepoint code
...
Reviewed-by: mdoerr, dcubed, eosterlund, bulasevich, coleenp
2020-04-01 14:54:44 +02:00
Andrew Haley
34ae46e2bc
8241296: Segfault in JNIHandleBlock::oops_do()
...
Reviewed-by: stefank
2020-03-19 14:53:57 +00:00
David Holmes
95898e86a1
8241043: Expand assertions to identify thread with errant _stack_base
...
Reviewed-by: mikael
2020-03-16 02:16:49 -04:00
Claes Redestad
2b465b1ebf
8241010: Unnecessarily resolving some well-known classes
...
Reviewed-by: coleenp
2020-03-13 18:43:11 +01:00
Calvin Cheung
9e2ab1e363
8232081: Try to link all classes during dynamic CDS dump
...
During CDS dynamic dump, link all classes loaded by the builtin class loaders in JVM_BeforeHalt() and JavaThread::invoke_shutdown_hooks().
Reviewed-by: iklam, dholmes
2020-03-06 15:33:13 -08:00
David Holmes
bd028945bd
8238988: Rename thread "in stack" methods and add in_stack_range
...
Reviewed-by: coleenp, dcubed
2020-02-23 22:35:59 -05:00
Richard Reingruber
b0b8190ea2
8238782: Cleanup Deoptimization::deoptimize(): remove unused RegisterMap argument and don't update RegisterMap in callers if UseBiasedLocking is enabled
...
Reviewed-by: dholmes, kvn
2020-02-12 09:18:37 +01:00
David Holmes
4e4d1f2b4d
8234372: Investigate use of Thread::stack_base() and queries for "in stack"
...
Reviewed-by: dcubed, stuefe
2020-02-12 20:19:50 -05:00
Ioi Lam
584db9818a
8236625: Remove writeable macro from JVM flags declaration
...
Reviewed-by: coleenp, hseigel, gziemski
2020-01-07 18:56:18 -08:00
Robbin Ehn
a170a4af4a
8235913: ThreadStop should be a handshake
...
Reviewed-by: dholmes, mdoerr
2019-12-19 17:02:11 +01:00
Jesper Wilhelmsson
e788e6dd46
Merge
2019-12-18 23:46:55 +01:00
Coleen Phillimore
eb6beeac94
8235829: graal crashes with Zombie.java test
...
Start ServiceThread before compiler threads, and run nmethod barriers for zgc before adding to the service thread queues, or posting events from the java thread.
Reviewed-by: pliden, dholmes, rehn
2019-12-18 11:51:22 -05:00
Patricio Chilano Mateo
57ece4c21a
8232733: Remove need to grab Threads_lock while processing handshakes
...
Threads_lock is not acquired anymore while processing handshakes
Reviewed-by: coleenp, rehn, dcubed, dholmes
2019-12-13 14:28:22 +00: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
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
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
Robbin Ehn
3d7d54b145
8234086: VM operation can be simplified
...
Reviewed-by: kbarrett, dholmes, dcubed
2019-11-29 12:09:25 +01:00
Markus Grönlund
096bacb9ea
8233197: Invert JvmtiExport::post_vm_initialized() and Jfr:on_vm_start() start-up order for correct option parsing
...
Reviewed-by: sspitsyn, egahlin
2019-11-25 18:38:01 +01:00
Stefan Karlsson
0ad50c2b5c
8234740: Harmonize parameter order in Atomic - cmpxchg
...
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Stefan Karlsson
e527ce4b57
8234562: Move OrderAccess::release_store*/load_acquire to Atomic
...
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
David Holmes
ec51784c0d
8215355: Object monitor deadlock with no threads holding the monitor (using jemalloc 5.1)
...
Reviewed-by: rehn, stuefe, dcubed, sspitsyn
2019-11-18 23:41:06 -05:00
Leo Korinth
1fc67ab002
8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
...
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
David Holmes
4272078d30
8233454: Test fails with assert(!is_init_completed(), "should only happen during init") after JDK-8229516
...
Reviewed-by: jiefu, dcubed
2019-11-06 21:18:42 -05: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
Mark Reinhold
d83df45396
8232080: jlink plugins for vendor information and run-time options
...
Reviewed-by: ihse, alanb, kvn, bobv, mchung
2019-10-29 08:26:55 -07: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
Calvin Cheung
b08a8c5cc3
8231606: _method_ordering is not set during CDS dynamic dump time
...
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.
Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Coleen Phillimore
e49e9292d3
8213150: Add verification for locking by VMThread
...
Extend verification for all locking not just VMOperations, and fix CLDG lock to not be taken by VM thread.
Reviewed-by: rehn, dholmes
2019-09-24 10:12:56 -04:00
David Holmes
23ec926327
8230395: Code checks for NULL value returned from NEW_C_HEAP_ARRAY which can not happen
...
Reviewed-by: lkorinth, hseigel, thartmann, dnsimon
2019-09-24 03:28:42 -04:00
Robbin Ehn
bb56c020f4
8229778: TestJstatdDefaults.java failed due to "fatal error: LEAF method calling lock?"
...
Reviewed-by: dholmes, dcubed
2019-09-24 08:54:39 +02:00
Coleen Phillimore
b770e9a6b4
8225628: Remove unused Thread::muxAcquireW function
...
Reviewed-by: dcubed, hseigel
2019-09-20 10:23:40 -04:00
Robbin Ehn
35a9f6864a
8226705: [REDO] Deoptimize with handshakes
...
Reviewed-by: eosterlund, dcubed, dlong, pchilanomate
2019-09-19 10:52:22 +02:00