RFR: 8330578: The VM creates instance of abstract class VirtualMachineError [v5]
Coleen Phillimore
coleenp at openjdk.org
Mon Apr 22 18:10:56 UTC 2024
On Mon, 22 Apr 2024 17:43:45 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>>> Unfortunately, we don't pre-allocate an instance of InternalError.
>>
>> But you just need to replaced the lines that you deleted for VirtualMachineError with InternalError. I think that would be cleaner than having to explain a weird behavior in comments.
>
> Seems like a waste, but I can put the lines back and make them InternalError.
Ok, I made VirtualMachineError into InternalError for this, and restored the CDS code.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18847#discussion_r1575176993
More information about the hotspot-dev
mailing list