RFR: 8292286: Convert PlaceholderTable to ResourceHashtable

Harold Seigel hseigel at openjdk.org
Mon Aug 15 15:30:12 UTC 2022


On Fri, 12 Aug 2022 13:07:03 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change converts the PlaceholderTable to ResourceHashtable.  It's much like the ResolutionErrorTable conversion.  This change has been performance tested with the previous set of testing with no regression.  It's also been tested tier1-3 and 4-7 with the other tables in my patch queue.

src/hotspot/share/classfile/placeholders.hpp line 111:

> 109:     _supername = supername;
> 110:     if (_supername != nullptr) _supername->increment_refcount();
> 111:   }

Could you use maybe_increment_refcount() instead of checking for NULL in the above code?

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

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


More information about the hotspot-dev mailing list