RFR: 8314220: Configurable InlineCacheBuffer size [v2]

Ekaterina Vergizova evergizova at openjdk.org
Wed Nov 15 17:26:33 UTC 2023


On Tue, 14 Nov 2023 03:21:25 GMT, Dean Long <dlong at openjdk.org> wrote:

>> It is needed to avoid 'failed: _buffer_size  not aligned' crashes on debug builds: 
>> https://github.com/openjdk/jdk/blob/master/src/hotspot/share/code/stubs.cpp#L221
>
> That sounds like a bug.  We already align the code_begin().  I see no reason to align code_end() as well.  It just wastes space.

OK, can I remove these guarantees for _buffer_size and _buffer_limit in this PR? Or do I need to create a separate one?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15271#discussion_r1394523889


More information about the hotspot-dev mailing list