Multiple method build in classBuilder
Øystein Myhre Andersen
o.myhre at gmail.com
Fri Jul 26 09:35:36 UTC 2024
The attached code contains the building of a class with one method '_STM'.
When the method gets too big, more than 32,767 bytes, a weird situation
occurs.
Look at lines 93-94: Here the size of the code can be changed.
When the code is greater than 32,767 (caseBlockSize = 13000)
the Method 'buildMethod_STM' is called twice with different CodeBuilders !!!
When caseBlockSize = 10000 everything is OK.
There must be something wrong here.
- Øystein Myhre Andersen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20240726/4e761c9a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Testing.java
Type: application/octet-stream
Size: 3364 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20240726/4e761c9a/Testing-0001.java>
More information about the classfile-api-dev
mailing list