RFR: 8307125: compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest.java hits assert(!Continuation::is_frame_in_continuation(thread(), fr())) failed: No support for deferred values in continuations

Doug Simon dnsimon at openjdk.org
Wed May 3 15:03:22 UTC 2023


On Wed, 3 May 2023 13:30:32 GMT, Christian Humer <chumer at openjdk.org> wrote:

>> This PRs adds JVMCI API to reflect that fact that deferred locals are not supported on virtual threads.
>
> test/hotspot/jtreg/compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest.java line 346:
> 
>> 344:     }
>> 345: 
>> 346:     static class MaterializationNotSupported extends RuntimeException {
> 
> any reason this is not just an UnsupportedOperationException?

To be 100% sure that it's the exception thrown by the test as opposed to some interleaving code that happens to also use UnsupportedOperationException.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13777#discussion_r1183719820


More information about the hotspot-compiler-dev mailing list