Re: RFR: 8339576: Speed up raw bytecode processing in ClassFile API [v2]

2024-09-06 Thread Chen Liang
On Thu, 5 Sep 2024 15:39:07 GMT, Chen Liang wrote: >> Currently, raw bytecode access goes through multiple wrappers, include one >> from ClassFile API and another ByteBuffer for merged big endian value reads. >> We can merge the ByteBuffer =into the ClassFile API one (RawBytecodeHelper) >> for

Re: RFR: 8339576: Speed up raw bytecode processing in ClassFile API [v2]

2024-09-05 Thread Adam Sotona
On Thu, 5 Sep 2024 15:39:07 GMT, Chen Liang wrote: >> Currently, raw bytecode access goes through multiple wrappers, include one >> from ClassFile API and another ByteBuffer for merged big endian value reads. >> We can merge the ByteBuffer =into the ClassFile API one (RawBytecodeHelper) >> for

Re: RFR: 8339576: Speed up raw bytecode processing in ClassFile API [v2]

2024-09-05 Thread Claes Redestad
On Thu, 5 Sep 2024 15:39:07 GMT, Chen Liang wrote: >> Currently, raw bytecode access goes through multiple wrappers, include one >> from ClassFile API and another ByteBuffer for merged big endian value reads. >> We can merge the ByteBuffer =into the ClassFile API one (RawBytecodeHelper) >> for

Re: RFR: 8339576: Speed up raw bytecode processing in ClassFile API [v2]

2024-09-05 Thread Chen Liang
> Currently, raw bytecode access goes through multiple wrappers, include one > from ClassFile API and another ByteBuffer for merged big endian value reads. > We can merge the ByteBuffer =into the ClassFile API one (RawBytecodeHelper) > for safer access. > > RawBytecodeHelper is also restructure