On Mon, 20 Apr 2026 09:04:21 GMT, Julian Waters <[email protected]> wrote:

> https://github.com/openjdk/jdk/pull/12743/changes Seems like that one went 
> with introducing a new virtual method and overriding it in the subclass. Also 
> not great, but it's a starting point to see what is needed to stop the vtable 
> from being removed.

So we derive from class MetaspaceObj  
https://github.com/openjdk/jdk/blob/abd3d4620423c322d18e7d8a4f3476de97402054/src/hotspot/share/memory/allocation.hpp#L246
  .
Do we really want such a dummy (like virtual bool is_metadata() const)  there ?

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

PR Comment: https://git.openjdk.org/jdk/pull/30771#issuecomment-4280011023

Reply via email to