RFR: 8260630: Templatize literal_size

Thomas Schatzl tschatzl at openjdk.java.net
Fri Jan 29 10:24:39 UTC 2021


On Fri, 29 Jan 2021 08:44:51 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review a couple of small cleanups in Hashtable support.
> 
> (1) Replace some "default" overloads for literal_size with a template.  This
> makes it easier to add new Hashtable value types whose sizes aren't
> interesting for statistics printout.
> 
> (2) Trivial change to remove no longer used instantiation of Hashtable
> support for oop values.
> 
> Testing:
> mach5 tier1

Lgtm.

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

Marked as reviewed by tschatzl (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2310


More information about the hotspot-dev mailing list