On Fri, 5 Dec 2025 06:34:09 GMT, Leonid Mesnik <[email protected]> wrote:

> Please review following fix that adjust expected results for nsk/monitoring 
> tests if they are executed with virtual threads or mark them as incompatible.
> 
> The ThreadInfo is not returned for virtual threads and some bean functions 
> return -1.
> 
> Tested by running nsk/monitoring with JTREG_TEST_THREAD_FACTORY=Virtual

test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/GetThreadAllocatedBytes/BaseBehaviorTest.java
 line 68:

> 66:                 throw new TestFailure("Failure! 
> getCurrentThreadAllocatedBytes() should "
> 67:                     + "return -1 for virtual thread. "
> 68:                     + "Recieved : " + result);

typo, received is correct.  We have a lot of existing incorrect "recieved" 
spelling in this file 8-)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28673#discussion_r2591992401

Reply via email to