RFR: 8288139: JavaThread touches oop after GC barrier is detached [v4]

Daniel D. Daugherty dcubed at openjdk.org
Wed Jun 22 21:01:05 UTC 2022


On Thu, 16 Jun 2022 00:00:32 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> src/hotspot/share/runtime/sharedRuntime.cpp line 998:
>> 
>>> 996: JRT_END
>>> 997: 
>>> 998: jlong SharedRuntime::get_java_tid(Thread* thread) {
>> 
>> Additional RFE: can we not declare this to take JavaThread and so avoid the checks and casts below?
>
> I can research that and file a follow up RFE if necessary.

New RFE:
[JDK-8289004](https://bugs.openjdk.org/browse/JDK-8289004) investigate if SharedRuntime::get_java_tid parameter should be a JavaThread*

-------------

PR: https://git.openjdk.org/jdk19/pull/21


More information about the hotspot-runtime-dev mailing list