On Wed, 6 May 2026 03:35:20 GMT, Leonid Mesnik <[email protected]> wrote:

>> test/hotspot/jtreg/serviceability/jvmti/valhalla/SampledObjectAllocValue/SampledObjectAllocValue.java
>>  line 51:
>> 
>>> 49:     public static void main(String[] args) throws Exception {
>>> 50:         enableEvents(Thread.currentThread(), ValueClass.class);
>>> 51:         // Allocate value objects to trigger JVMYI SampledObjectAlloc 
>>> events.
>> 
>> JVMYI -> JVMTI
>
> The test is passing now, however there are a lot of chances that it will 
> fails once array of 2xlong is made to be flattened. 
> Might be worth to  mention this assumption in the comment also.

Thanks. Fixed typo and added a comment about flat array layout assumption.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2386#discussion_r3193051623

Reply via email to