### What would you like to backport? Oracle GraalVM backported commits: (https://github.com/oracle/graal/commit/ddb6907dc00) (https://github.com/oracle/graal/commit/397718fc2ce) ### Describe the motivation for the backport. Backported to Oracle GraalVM for JDK 21, fix version: graalvm-23.1.10