RFR: 8338929: Make Metaspace::deallocate space-aware [v3]
Thomas Stuefe
stuefe at openjdk.org
Tue Aug 27 15:25:23 UTC 2024
> For ucoming Lilliput changes, as well as to simplify [JDK-8338526](https://bugs.openjdk.org/browse/JDK-8338526), we should make Metaspace::deallocate space-aware (as in, instead of having to tell it where the pointed-to block resides, it should know it on its own).
>
> As of now, callers need to tell the function of the deallocated block is in class space or in non-class metaspace. That is unnecessary and won't work for TinyCP. The deallocation function can do this better on itself by doing a range check on the class space range.
Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
tiny comment change
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20701/files
- new: https://git.openjdk.org/jdk/pull/20701/files/5a38893e..0ed170f4
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20701&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20701&range=01-02
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/20701.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20701/head:pull/20701
PR: https://git.openjdk.org/jdk/pull/20701
More information about the hotspot-runtime-dev
mailing list