RFR: 8228604: StackMapFrames are missing from redefined class bytes of retransformed classes
Serguei Spitsyn
sspitsyn at openjdk.org
Wed Feb 1 04:12:47 UTC 2023
On Tue, 31 Jan 2023 07:38:57 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> I guess I would assume that an agent/tool modifying a class would require it to be regenerated.
This is my understanding too. My understanding is that eliding the StackMapTable attribute when there is no split-verifier is an optimization which can cause problems for agents/tools. So, the suggestion from Alex to simplify this by removing this optimization looks reasonable to me.
We can run more Runtime tests to make sure this does not break anything.
-------------
PR: https://git.openjdk.org/jdk/pull/12155
More information about the serviceability-dev
mailing list