On Wed, 1 Jul 2026 18:38:16 GMT, Serguei Spitsyn <[email protected]> wrote:

>> src/hotspot/share/prims/jvmti.xml line 8317:
>> 
>>> 8315:         information for objects that have no identity. The fields of 
>>> the returned
>>> 8316:         <functionlink id="jvmtiMonitorUsage"></functionlink> 
>>> structure will always
>>> 8317:         be filled in with null values and zeros.
>> 
>> Another way to present this could be to say that it is not possible to 
>> synchronize on a value object so there is no information to return.  The 
>> fields of the returned ...
>
> Thanks. Fixed now.

The updated wording is much better. One suggestion is to change "this function 
can be used for value objects" to "the object may be a value object" or "the 
object to query may be a value object" (it uses "the object to query" in the 
parameter description.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2609#discussion_r3508393418

Reply via email to