RFR: 8329488: Move OopStorage code from safepoint cleanup and remove safepoint cleanup code [v3]
Coleen Phillimore
coleenp at openjdk.org
Tue Apr 9 13:56:28 UTC 2024
> This patch gives the ServiceThread a periodic wakeup (same as GuaranteedSafepointInterval) to check if it needs to clean out OopStorage blocks, and move the triggering of this cleaning out of the safepoint cleanup tasks. Since ICBuffer, StringTable and SymbolTable rehashing have moved, there's nothing that actually triggers the nop safepoint to do cleaning (except SafepointALot), so the OopStorage cleanup won't be triggered.
>
> With moving all of these out of the safepoint cleanup tasks, we can remove the code that sets up multiple threads to do safepoint cleanup. We can also remove the JFR events and logging that times safepoint cleanup, and a logging test.
>
> Tested with tier1-4.
Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
Specify meaning of ServiceThreadCleanupInterval.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18375/files
- new: https://git.openjdk.org/jdk/pull/18375/files/3ab66efa..44df061f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18375&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18375&range=01-02
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/18375.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18375/head:pull/18375
PR: https://git.openjdk.org/jdk/pull/18375
More information about the hotspot-dev
mailing list