RFR: 8228604: StackMapFrames are missing from redefined class bytes of retransformed classes [v4]
Serguei Spitsyn
sspitsyn at openjdk.org
Mon Feb 6 23:32:46 UTC 2023
On Thu, 2 Feb 2023 19:08:49 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
>> classFileParser drops stack map frames for JDK classes (when verification is not required).
>> As a result JvmtiClassFileReconstituter cannot restore the attribute for class redefinition.
>> Note that if the class is in CDS archive, the frames are restored from CDS, so this issue affects only JDK classes which are not in CDS.
>> This code is old (from "initial load") and I don't understand the reason it was implemented this way.
>>
>> Testing: tier1-tier6
>
> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>
> updated test
Marked as reviewed by sspitsyn (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/12155
More information about the serviceability-dev
mailing list