RFR: 8242440: use separate, destroyable JavaVM instances per libgraal compiler thread [v3]

Vladimir Kozlov kvn at openjdk.java.net
Wed Apr 20 22:09:51 UTC 2022


On Wed, 20 Apr 2022 21:18:04 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

>> src/hotspot/share/jvmci/jvmci_globals.hpp line 64:
>> 
>>> 62:           "Max number of threads per JVMCI native runtime. "                \
>>> 63:           "Specify 0 to force use of a single JVMCI native runtime. ")      \
>>> 64:           range(0, max_jint)                                                \
>> 
>> Does it mean that value `0` has the same effect as `1`?
>
> No. `0` means there is a single JVMCI native runtime shared by all threads where as `1` means each thread (that accesses JVMCI) gets its own unique isolate.

ok

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

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


More information about the hotspot-dev mailing list