On Tue, 27 Jun 2023 23:06:49 GMT, Tom Rodriguez <ne...@openjdk.org> wrote:

> I don't think pushing it down that far improves things. encode always 
> precedes decode so why not resolve it before the encode call.

Because the `VMSupport` klass is only needed if calling into HotSpot so it's 
better to push it down into 
`HotSpotToSharedLibraryExceptionTranslation::encode`. Also, if the `VMSupport` 
klass is used for encoding, it's *not* needed for decoding (the libgraal 
`VMSupport` jclass value is used instead).

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

PR Comment: https://git.openjdk.org/jdk/pull/14641#issuecomment-1610903263

Reply via email to