Skip to content

Commit 6b082fb

Browse files
author
Serguei Spitsyn
committed
8302615: make JVMTI thread cpu time functions optional for virtual threads
Reviewed-by: alanb
1 parent 7c60b9c commit 6b082fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/hotspot/share/prims/jvmti.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -11058,7 +11058,8 @@ myInit() {
1105811058
</parameters>
1105911059
<errors>
1106011060
<error id="JVMTI_ERROR_UNSUPPORTED_OPERATION">
11061-
Current thread is a virtual thread.
11061+
The current thread is a virtual thread and the implementation does not support
11062+
getting the current thread CPU time when the current thread is a virtual thread.
1106211063
</error>
1106311064
</errors>
1106411065
</function>
@@ -11140,7 +11141,8 @@ myInit() {
1114011141
</parameters>
1114111142
<errors>
1114211143
<error id="JVMTI_ERROR_UNSUPPORTED_OPERATION">
11143-
<paramlink id="thread"/> is a virtual thread.
11144+
<paramlink id="thread"/> is a virtual thread and the implementation does not
11145+
support getting the thread CPU time of a virtual thread.
1114411146
</error>
1114511147
</errors>
1114611148
</function>

0 commit comments

Comments
 (0)