RFR: 8330578: The VM creates instance of abstract class VirtualMachineError [v3]

Coleen Phillimore coleenp at openjdk.org
Fri Apr 19 12:18:14 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 incrementally with one additional commit since the last revision:

  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.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18847/files
  - new: https://git.openjdk.org/jdk/pull/18847/files/92e4f015..9eaf7956

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18847&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18847&range=01-02

  Stats: 9 lines in 1 file changed: 0 ins; 8 del; 1 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