RFR: 8284435: Add dedicated filler objects for known dead Java heap areas [v3]
Thomas Schatzl
tschatzl at openjdk.java.net
Tue Apr 19 09:26:26 UTC 2022
On Mon, 11 Apr 2022 21:51:32 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Do you really need to define a real `FillerObject.java` class? Can't you use an internal-only variant of a hidden class to represent this?
I am not sure I understand this request, but of course I am open to try different approaches. An existing example would be fine to get me on track; but maybe I am only not understanding your terminology: do you mean to have a special subclass of instanceKlass for `FillerObject`?
I had that, but that has been much much more effort (in terms of code, maintainability, ...) than having such an additional Java class file in the JDK and use the existing macros to use it everywhere.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8156
More information about the core-libs-dev
mailing list