From JDK-8364343 PR comments:
Given the comment block to define the terms "mount transition" and "unmount transition" in VirtualThread.java then we could go a bit further and make it 6 methods: start/endMountTransition, start/endUnmountTransition, endFirstMountTransition and startLastUnmountTransition as it would make the use-sites clearer.
Given the comment block to define the terms "mount transition" and "unmount transition" in VirtualThread.java then we could go a bit further and make it 6 methods: start/endMountTransition, start/endUnmountTransition, endFirstMountTransition and startLastUnmountTransition as it would make the use-sites clearer.