RFR: 8290718: Remove ALLOCATION_SUPER_CLASS_SPEC

Coleen Phillimore coleenp at openjdk.org
Thu Jul 21 12:59:52 UTC 2022


This super class simply exists to have virtual functions for print() in non-product mode.  In CHeapObj objects, it creates a vptr that break deterministic archive creation when I change the type of ModuleEntry in upcoming work.
I moved the virtual print functions to ResourceObj and CompilationResourceObj since there are still several print functions called for those types.  Many were for the compilation types. Maybe someone should fix those someday.
Tested with tier1 on Oracle supported platforms and builds-only for others (ppc, s390, etc).

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

Commit messages:
 - 8290718: Remove ALLOCATION_SUPER_CLASS_SPEC

Changes: https://git.openjdk.org/jdk/pull/9591/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9591&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8290718
  Stats: 51 lines in 6 files changed: 18 ins; 23 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/9591.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9591/head:pull/9591

PR: https://git.openjdk.org/jdk/pull/9591


More information about the hotspot-dev mailing list