[foreign-memaccess+abi] RFR: 8277657: OptimizedEntryBlob should extend RuntimeBlob directly

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Nov 25 18:01:23 UTC 2021


On Thu, 25 Nov 2021 14:42:25 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> This small refactoring makes OptimizedEntryBlob extend RuntimeBlob instead of BufferBlob.
> 
> The motivation for doing this is that we don't want to inherit behavior from BufferBlob by accident which is not appropriate for OptimizedEntryBlob, which has happened in the past.
> 
> This patch also reverts an earlier fix by Nick which made BufferBlob sub classes pass their header size through the BufferBlob constructor to RuntimeBlob's constructor, since this is no longer needed with this patch.

Marked as reviewed by mcimadamore (Committer).

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

PR: https://git.openjdk.java.net/panama-foreign/pull/617


More information about the panama-dev mailing list