Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.27k
stars
721
forks
source link
[Hidden classes] Centralize classfile parsing in the cfreader.c code #10513
My proposal was that MethodHandleNatives.checkClassBytes return the classname as a String to avoid partially reparsing the classfile. The checks in getClassName can still be done in java code after renaming the method to something like validateClassName.
My proposal was that
MethodHandleNatives.checkClassBytes
return the classname as a String to avoid partially reparsing the classfile. The checks ingetClassName
can still be done in java code after renaming the method to something likevalidateClassName
._Originally posted by @DanHeidinga in https://github.com/eclipse/openj9/pull/10471#discussion_r482303395_