Commit graph

317 commits

Author SHA1 Message Date
Andrew Dinn
71164a973b 8221477: Inject os/cpu-specific constants into Unsafe from JVM
Initialize Unsafe os/cpu-specific constants using injection instead of native callouts

Reviewed-by: stuefe, coleenp, dholmes, plevart
2019-04-05 10:01:09 +01:00
David Holmes
2f20909d10 8218483: Crash in "assert(_daemon_threads_count->get_value() > daemon_count) failed: thread count mismatch 5 : 5"
Reviewed-by: dcubed, stuefe
2019-04-03 22:03:39 +00:00
Kim Barrett
e7e00f7ae0 8221102: Allow GC threads to participate in threads claiming protocol
Expand claim counter from 1bit to uintx, with rare overflow handling.

Reviewed-by: tschatzl, rkennke
2019-04-02 13:08:38 -04:00
Kim Barrett
757e6ecfec 8220671: Initialization race for non-JavaThread PtrQueues
Include on_thread_(attach|detach) under NJTList_lock.

Reviewed-by: pliden, rkennke
2019-04-01 17:11:38 -04:00
Per Lidén
53c904df4a 8221394: Clean up ConcurrentGCThread
Reviewed-by: kbarrett, eosterlund
2019-03-28 19:43:59 +01:00
Robbin Ehn
76cdc8016f 8220351: Cross-modifying code
Reviewed-by: rrich, mdoerr, dholmes, eosterlund
2019-03-28 11:08:23 +01:00
Daniel D. Daugherty
6e84bce1b5 8221350: more monitor logging updates from Async Monitor Deflation project
Reviewed-by: dholmes, coleenp
2019-03-26 15:27:41 -04:00
Robbin Ehn
ed3542d53b 8220774: Add HandshakeALot diag option
Reviewed-by: dcubed, dholmes
2019-03-26 12:08:51 +01:00
David Holmes
ccef9efb14 8221207: Redo JDK-8218446 - SuspendAtExit hangs
Reviewed-by: rehn, dcubed
2019-03-25 00:57:03 -04:00
Coleen Phillimore
5c5089b0a2 8220512: Deoptimize redefinition functions that have dirty ICs
Walk ICs to determine whether nmethods are dependent on redefined classes.

Reviewed-by: sspitsyn, eosterlund
2019-03-15 16:00:18 -04:00
Tobias Hartmann
ac17b61a59 8163511: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Use weak handles for compile tasks to allow unloading of referenced methods.

Reviewed-by: kvn, coleenp, eosterlund
2019-03-07 08:38:16 +01:00
Kim Barrett
725a467ad8 8219613: Use NonJavaThread PtrQueues
Init and use NJT queues, remove shared SATB queue.

Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Reviewed-by: shade, zgu, pliden, tschatzl
2019-03-05 19:54:33 -05:00
Patricio Chilano Mateo
c94cdddbdd 8210832: Remove sneaky locking in class Monitor
Removed sneaky locking and simplified vm monitors implementation

Co-authored-by: David Holmes <david.holmes@oracle.com>
Reviewed-by: rehn, dcubed, pliden, dholmes, coleenp
2019-02-05 15:12:13 -05:00
Robbin Ehn
046a1f0ff7 8218041: Assorted wrong/missing includes
Reviewed-by: dholmes, kbarrett, stefank, shade
2019-01-31 10:31:39 +01:00
David Holmes
cb960e9a30 8217618: JVM TI SuspendThread doesn't suspend the current thread before returning
Reviewed-by: dcubed, sspitsyn, dlong
2019-01-27 20:48:27 -05:00
David Holmes
d1c7bfeb4b 8213397: Stack dump should show more clearly when a thread is blocked on a class initialization monitor
Reviewed-by: rehn, coleenp
2019-01-15 16:40:31 -05:00
Thomas Stuefe
617f75c8cf 8216982: Assertion poison page established too early
Reviewed-by: mdoerr, dholmes
2019-01-15 08:03:30 +01:00
Jesper Wilhelmsson
59716b0bb3 Merge 2019-01-02 16:05:13 +01:00
Andrey Petushkov
9d20ad22c8 8215879: AArch64: ReservedStackAccess may leave stack guard in inconsistent state
Reviewed-by: aph, dholmes
2018-12-21 18:26:55 +00:00
David Holmes
526f854cc1 8214097: Rework thread initialization and teardown logic
Reviewed-by: rehn, mgronlun, dcubed, kbarrett
2018-12-27 21:17:11 -05:00
Erik Österlund
1cc5cf4c02 8215500: ICRefillVerifierMark does not set the provided verfier as current
Reviewed-by: pliden, thartmann
2018-12-20 10:41:45 +01:00
Kim Barrett
13b56530f4 8215097: Do not create NonJavaThreads before BarrierSet
G1 and CMS delay worker thread creation until BarrierSet exists.

Reviewed-by: dholmes, tschatzl
2018-12-11 18:00:17 -05:00
Erik Österlund
0874f1945e 8214936: assert(_needs_refill == 0) failed: Forgot to handle a failed IC transition requiring IC stubs
Reviewed-by: kvn, thartmann, pliden
2018-12-07 13:15:35 +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
Gary Adams
b4630d6207 8176828: jtools do not list VM process launched with the debugger option suspend=y
Reviewed-by: dholmes, cjplummer
2018-12-04 07:09:02 -05:00
Patricio Chilano Mateo
803b9a675b 8150689: Thread dump report "waiting to re-lock in wait()" shows incorrectly
"waiting to re-lock in wait()" is now shown in the frame where relocking is taking place

Reviewed-by: dholmes, dcubed
2018-11-27 13:39:57 -05:00
Aleksey Shipilev
0c94b004e6 8214004: Missing space between compiler thread name and task info in hs_err
Reviewed-by: dcubed, zgu
2018-11-17 13:48:50 +01:00
Calvin Cheung
8761824649 8201375: Add the AllowArchivingWithJavaAgent diagnostic vm option to allow the use of the -javaagent option during CDS dumping
Allow Java agent during CDS dumping if the AllowArchivingWithJavaAgent dignostic option is specified.

Reviewed-by: iklam, jiangli, sspitsyn, dcubed
2018-11-16 16:10:25 -08:00
Markus Grönlund
8ed728c905 8210024: JFR calls virtual is_Java_thread from ~Thread()
Reviewed-by: kbarrett, dholmes, dcubed, egahlin
2018-11-15 11:10:04 +01:00
Dean Long
a9ae141836 8212605: Pure-Java implementation of AccessController.doPrivileged
Reviewed-by: dholmes, mullan, vlivanov, mchung, alanb, rriggs
2018-11-06 16:04:50 -08:00
Robbin Ehn
6e5e462e2a 8213236: A partial removed/deleted JavaThread cannot transition
Reviewed-by: dholmes, dcubed, eosterlund
2018-11-02 14:13:05 +01:00
Robbin Ehn
80aa38305d 8212933: Thread-SMR: requesting a VM operation whilst holding a ThreadsListHandle can cause deadlocks
Reviewed-by: eosterlund, dcubed, sspitsyn, dholmes
2018-10-31 08:09:45 +01:00
Thomas Stuefe
e4f51809e4 8212173: Thread._stack_base/_stack_size initialized too late for new threads
Reviewed-by: dholmes, simonis
2018-10-19 09:39:29 +02:00
Dean Long
c24f6506e7 8021335: Missing synchronization when reading counters for live threads and peak thread count
Reviewed-by: dholmes, mchung
2018-10-25 18:41:26 -07:00
Harold Seigel
794d864feb 7041262: VM_Version should be called instead of Abstract_VM_Version so that overriding works
Change calls to Abstract_VM_Version methods to be calls to VM_Version methods.

Reviewed-by: coleenp, kbarrett, dholmes
2018-10-16 11:08:46 -04:00
Harold Seigel
2e5653c166 8211821: PrintStringTableStatistics crashes JVM
During JVM exit, print the Symbol and String tables before current thread gets deleted.

Reviewed-by: iklam, dholmes
2018-10-11 11:31:37 -04:00
Doug Simon
548eb6860a 8208686: [AOT] JVMTI ResourceExhausted event repeated for same allocation
Reviewed-by: never, kvn, sspitsyn
2018-10-05 20:03:14 +02:00
Claes Redestad
08b8a3149b 8211384: Obsolete -XX:+/-MonitorInUseLists option
Reviewed-by: mikael, rkennke, shade, dcubed
2018-10-03 15:05:46 +02:00
Mikael Vidstedt
25295df059 8210848: Obsolete SyncKnobs
Reviewed-by: redestad, coleenp, dholmes, dcubed
2018-09-24 22:12:07 -07:00
Per Lidén
c0d0cbc4f1 8210857: Allow retiring TLABs and collecting statistics in parallel
Reviewed-by: sjohanss, eosterlund
2018-09-20 14:04:43 +02:00
Mikael Vidstedt
9118c4c28b 8210514: Obsolete SyncVerbose
Reviewed-by: coleenp, dcubed
2018-09-11 13:54:34 -07:00
Kim Barrett
6a0bb0955e 8209975: Some GCThreadLocalData not initialized
Perform deferred BarrierSet initializations for NonJavaThreads too.

Reviewed-by: eosterlund, pliden
2018-08-30 17:03:46 -04:00
Jesper Wilhelmsson
d40735db17 Merge 2018-08-29 19:48:28 +02:00
Kim Barrett
e1059f1301 8209976: Improve iteration over non-JavaThreads
Add NonJavaThread and move NamedThread iteration to new class.

Reviewed-by: eosterlund, coleenp, rkennke
2018-08-28 16:04:54 -04:00
Coleen Phillimore
fd9fa38d21 8209821: Make JVMTI GetClassLoaderClasses not walk CLDG
And also added function with KlassClosure to remove the hacks.

Reviewed-by: lfoltan, sspitsyn
2018-08-25 11:10:21 -04:00
Tobias Hartmann
aef7c93375 8209670: CompilerThread releasing code buffer in destructor is unsafe
Don't free temporary code buffers in compiler thread destructor to avoid interference with safepoint code.

Reviewed-by: kvn, dholmes, zgu
2018-08-21 17:47:59 +02:00
Kim Barrett
23f0fb4cde 8209850: Allow NamedThreads to use GlobalCounter critical sections
Add NamedThreads iterator and make GlobalCounter use it.

Reviewed-by: eosterlund, rehn
2018-08-23 18:14:53 -04: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
Coleen Phillimore
647c7d5344 8164683: Solaris: JVM abuses thread preemption control
Complete removal of preemption control and command line arguments (were deprecated in 11).

Reviewed-by: hseigel, pchilanomate, dholmes
2018-08-10 09:36:01 -04:00
Tobias Hartmann
a16ca4799e 8205472: Deadlock in Kitchensink when trying to print compile queues causing timeout
Do not acquire the MethodCompileQueue_lock in CompileBroker::print_compile_queues().

Reviewed-by: kvn, kbarrett, dholmes
2018-07-10 15:33:55 +02:00