RFR: 8322513: Build failure with minimal
Robbin Ehn
rehn at openjdk.org
Wed Dec 20 07:49:45 UTC 2023
On Wed, 20 Dec 2023 04:49:12 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Build failure with minimal
>>
>> sh configure --with-jvm-variants=minimal
>>
>>
>> === Output from failing command(s) repeated here ===
>> * For target hotspot_variant-minimal_libjvm_objs_handshake.o:
>> /src/hotspot/share/runtime/handshake.cpp: In member function 'HandshakeOperation* HandshakeState::get_op_for_self(bool, bool)':
>> src/hotspot/share/runtime/handshake.cpp:490:37: error: 'class JavaThread' has no member named 'is_disable_suspend'; did you mean 'is_trace_suspend'?
>> if (allow_suspend && _handshakee->is_disable_suspend()) {
>> ^~~~~~~~~~~~~~~~~~
>> is_trace_suspend
>
> But I think you will then run into further problems due to JDK-8311218 - there is a "fatal" in jvm.cpp that will be called when JVM TI is not available.
@dholmes-ora, minimal is used when you cross-compile, you need to build a minimal native buildjdk.
This do not yet use "Loom", but if/when folks start using virtual thread in core libs, we can get into problems it seems like.
Talking about the other issue: 8311218
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17164#issuecomment-1864006911
More information about the hotspot-runtime-dev
mailing list