Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8302615: make JVMTI thread cpu time functions optional for virtual th…
…reads

Reviewed-by: alanb
  • Loading branch information
Serguei Spitsyn committed Feb 17, 2023
1 parent 7c60b9c commit 6b082fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/hotspot/share/prims/jvmti.xml
Expand Up @@ -11058,7 +11058,8 @@ myInit() {
</parameters>
<errors>
<error id="JVMTI_ERROR_UNSUPPORTED_OPERATION">
Current thread is a virtual thread.
The current thread is a virtual thread and the implementation does not support
getting the current thread CPU time when the current thread is a virtual thread.
</error>
</errors>
</function>
Expand Down Expand Up @@ -11140,7 +11141,8 @@ myInit() {
</parameters>
<errors>
<error id="JVMTI_ERROR_UNSUPPORTED_OPERATION">
<paramlink id="thread"/> is a virtual thread.
<paramlink id="thread"/> is a virtual thread and the implementation does not
support getting the thread CPU time of a virtual thread.
</error>
</errors>
</function>
Expand Down

1 comment on commit 6b082fb

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.