Attribute safety

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Fri Jul 28 13:18:13 UTC 2023


>
>> It is a little awkward that the user feels like PC references are 
>> being adjusted in some attributes (exception tables, local variable 
>> related attributes), but not for TAs. Other than that looks good.
>
> Yeah, the reality is that PC references are such a tiny part of the 
> brittleness of TA attributes, that incurring lots of runtime cost for 
> that one seems entirely wasted.

That said, we could refine your notion of "non-brittle attribute" to 
also include "it refers to bytecodes via Label"

Maurizio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20230728/9c055d64/attachment.htm>


More information about the classfile-api-dev mailing list