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

Jorn Vernee jvernee at openjdk.java.net
Thu Nov 25 18:42:28 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.

This pull request has now been integrated.

Changeset: 77dbcdb8
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/77dbcdb8991711f3a660bad16b5355a801779a81
Stats:     87 lines in 3 files changed: 54 ins; 11 del; 22 mod

8277657: OptimizedEntryBlob should extend RuntimeBlob directly

Reviewed-by: mcimadamore

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

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


More information about the panama-dev mailing list