RFR: 8261397: Try Catch Method Failing to Work When Dividing An Integer By 0 [v4]

Gerard Ziemski gziemski at openjdk.java.net
Mon Feb 22 19:14:41 UTC 2021


On Mon, 22 Feb 2021 04:15:45 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Hi Gerard,
> 
> The new VM_Version check should be in vm_version_bsd_x86.cpp so that we don't need to ifdef the code in the generic x86 file.
> 
> I don't think we need make is_cpu_emulated available on all platforms, jusyt bsd-x86.
> 
> Thanks,
> David

I figured we would need eventually something similar for other OS (any x86_64 based OS being ported to aarch64), so I put the API into `vm_version_x86`.

`os_bsd_x86.hpp/.cpp` still needs the `#if __APPLE__`, but I did remove the API from ` vm_version_x86`

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

PR: https://git.openjdk.java.net/jdk/pull/2615


More information about the hotspot-runtime-dev mailing list