RFR: 8330578: The VM creates instance of abstract class VirtualMachineError [v5]
Coleen Phillimore
coleenp at openjdk.org
Fri Apr 19 15:30:27 UTC 2024
> It's a bug that the VM creates an instance of the abstract class VirtualMachineError. In the cases where we throw VME, we should throw OOM or StackOverflowError instead.
>
> Tested with tier1-4.
Coleen Phillimore has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:
- Merge branch 'master' into vme
- Throw preallocated SOE object.
- We don't need to link and initialize VirtualMachineError class because the lines just below it that link and initialize and create an instance of StackOverflowError will do that, since VME is a subclass of SOE.
- Remove newline
- 8330578: The VM creates instance of abstract class VirtualMachineError
-------------
Changes: https://git.openjdk.org/jdk/pull/18847/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18847&range=04
Stats: 29 lines in 9 files changed: 1 ins; 17 del; 11 mod
Patch: https://git.openjdk.org/jdk/pull/18847.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18847/head:pull/18847
PR: https://git.openjdk.org/jdk/pull/18847
More information about the hotspot-dev
mailing list