Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(v0.37.0-release) Remove setImmutableField on currentThread for JDK19 and up #17021

Commits on Mar 24, 2023

  1. Remove setImmutableField on currentThread for JDK19 and up

    `Thread.currentThread` can be changed by JCL in
    JDK19 and up. Set it as volatile for JDK19 and up.
    
    Add `isJ9VMThreadCurrentThreadImmutable` in FrontEnd
    to query whether or not `Thread.currentThread` is
    immutable based on `JAVA_SPEC_VERSION`.
    
    Fixes eclipse-openj9#16258
    
    Co-authored-by: Daryl Maier <maier@ca.ibm.com>
    Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
    a7ehuo and 0xdaryl committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    c46d60a View commit details
    Browse the repository at this point in the history