RFR: JDK-8286666: JEP 429: Implementation of Scoped Values (Incubator) [v33]

Dean Long dlong at openjdk.org
Wed Nov 30 21:43:13 UTC 2022


On Thu, 24 Nov 2022 14:05:41 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> JEP 429 implementation.
>
> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Unused variable

src/hotspot/share/classfile/javaClasses.cpp line 1731:

> 1729: }
> 1730: 
> 1731: void java_lang_Thread::clear_scopedValueBindings(oop java_thread) {

It looks like there is only one caller of this method that takes an oop.  Would it make sense to have the caller check for the null oop, and assert that the oop is not null here?

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

PR: https://git.openjdk.org/jdk/pull/10952


More information about the hotspot-dev mailing list