RFR: 8331429: [JVMCI] Cleanup JVMCIRuntime allocation routines
Doug Simon
dnsimon at openjdk.org
Fri May 10 14:30:31 UTC 2024
On Fri, 10 May 2024 13:06:21 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:
> This PR removes allocation routines that may throw exception from JVMCIRuntime. It also exports various symbols related to the hashed secondary supers table.
Please also update `InternalOOMEMark` to remove support for `thread` being `nullptr`.
src/hotspot/share/jvmci/jvmciRuntime.hpp line 509:
> 507: // The following routines are called from compiled JVMCI code
> 508:
> 509: // When allocation fails, these stubs return null and have no pending exception. Compiled code
"and have no pending OutOfMemoryError exception"
It's still possible for an async exception to be pending. For Graal, that's ok as it unconditional clears any pending exception when calling these stubs.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19176#issuecomment-2104705327
PR Review Comment: https://git.openjdk.org/jdk/pull/19176#discussion_r1596830028
More information about the hotspot-compiler-dev
mailing list