RFR: 8270061: Change parameter order of ResourceHashtable

Thomas Stuefe stuefe at openjdk.java.net
Wed Jul 28 03:59:29 UTC 2021


On Wed, 28 Jul 2021 00:38:53 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> > Oh but MEMFLAGS is generally found after the allocation type and I thought there were more resource allocated resource hashtables (at least initially).
> 
> OK, I'll leave the PR as is without further rearranging the arguments.
> 
> Since the class is named ResourceHashtable, using C_HEAP as the default seems a little weird. We are planning to get rid of the "old" Hashtable and then rename ResourceHashtable to Hashtable. We can rethink the default values at that point.

Sure, all good!

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

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


More information about the hotspot-dev mailing list