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

Coleen Phillimore coleenp at openjdk.org
Mon Apr 22 18:10:56 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 two additional commits since the last revision:

 - restore exceptions.cpp comment
 - Restore VirtualMemoryError as InternalError - a nonabstract class

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18847/files
  - new: https://git.openjdk.org/jdk/pull/18847/files/e4e1f8d3..a70dc567

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

  Stats: 25 lines in 6 files changed: 17 ins; 1 del; 7 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