8255810: Zero: build fails without JVMTI

Reviewed-by: coleenp
This commit is contained in:
Aleksey Shipilev 2020-11-03 17:21:16 +00:00
parent d47336bf1c
commit ca216bae1a
2 changed files with 4 additions and 2 deletions
src/hotspot/share

@ -1964,8 +1964,8 @@ typedef HashtableEntry<InstanceKlass*, mtClass> KlassHashtableEntry;
declare_integer_type(AccessFlags) /* FIXME: wrong type (not integer) */\
declare_toplevel_type(address) /* FIXME: should this be an integer type? */\
declare_integer_type(BasicType) /* FIXME: wrong type (not integer) */ \
declare_toplevel_type(BreakpointInfo) \
declare_toplevel_type(BreakpointInfo*) \
JVMTI_ONLY(declare_toplevel_type(BreakpointInfo)) \
JVMTI_ONLY(declare_toplevel_type(BreakpointInfo*)) \
declare_toplevel_type(CodeBlob*) \
declare_toplevel_type(RuntimeBlob*) \
declare_toplevel_type(CompressedWriteStream*) \

@ -304,6 +304,7 @@ void JVMTIDataDumpDCmd::execute(DCmdSource source, TRAPS) {
}
#if INCLUDE_SERVICES
#if INCLUDE_JVMTI
JVMTIAgentLoadDCmd::JVMTIAgentLoadDCmd(outputStream* output, bool heap) :
DCmdWithParser(output, heap),
_libpath("library path", "Absolute path of the JVMTI agent to load.",
@ -363,6 +364,7 @@ int JVMTIAgentLoadDCmd::num_arguments() {
return 0;
}
}
#endif // INCLUDE_JVMTI
#endif // INCLUDE_SERVICES
void PrintSystemPropertiesDCmd::execute(DCmdSource source, TRAPS) {