[11] RFR(XS) 8202773: Unhandled oop in JavaThread::collect_counters
Daniel D. Daugherty
daniel.daugherty at oracle.com
Thu May 10 12:52:01 UTC 2018
On 5/9/18 7:47 PM, Vladimir Kozlov wrote:
> https://bugs.openjdk.java.net/browse/JDK-8202773
>
> Based on discussion in bug report MutexLocker should be removed from
> this code:
Thumbs up.
Dan
>
> diff -r ae0ebd3cf949 src/hotspot/share/runtime/thread.cpp
> --- a/src/hotspot/share/runtime/thread.cpp
> +++ b/src/hotspot/share/runtime/thread.cpp
> @@ -1467,7 +1467,6 @@
>
> void JavaThread::collect_counters(typeArrayOop array) {
> if (JVMCICounterSize > 0) {
> - MutexLocker tl(Threads_lock);
> JavaThreadIteratorWithHandle jtiwh;
> for (int i = 0; i < array->length(); i++) {
> array->long_at_put(i, _jvmci_old_thread_counters[i]);
>
> Tested with tier1,tier2,tier2-graal,hs-precheckin-comp
>
More information about the hotspot-dev
mailing list