src/hotspot/share/runtime/globals_ext.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
webrev Cdiff src/hotspot/share/runtime/globals_ext.hpp
src/hotspot/share/runtime/globals_ext.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 25,39 ****
#ifndef SHARE_VM_RUNTIME_GLOBALS_EXT_HPP
#define SHARE_VM_RUNTIME_GLOBALS_EXT_HPP
// globals_extension.hpp extension
! // Additional CommandLineFlags enum values
! #define COMMANDLINEFLAG_EXT
! // Additional CommandLineFlagsWithType enum values
! #define COMMANDLINEFLAGWITHTYPE_EXT
// globals.cpp extension
// Additional flag definitions
--- 25,39 ----
#ifndef SHARE_VM_RUNTIME_GLOBALS_EXT_HPP
#define SHARE_VM_RUNTIME_GLOBALS_EXT_HPP
// globals_extension.hpp extension
! // Additional JVMFlag enum values
! #define JVMFLAGS_EXT
! // Additional JVMFlagWithType enum values
! #define JVMFLAGSWITHTYPE_EXT
// globals.cpp extension
// Additional flag definitions
*** 43,70 ****
#define FLAGTABLE_EXT
// Default method implementations
! inline bool Flag::is_unlocker_ext() const {
return false;
}
! inline bool Flag::is_unlocked_ext() const {
return true;
}
! inline bool Flag::is_writeable_ext() const {
return false;
}
! inline bool Flag::is_external_ext() const {
return false;
}
! inline Flag::MsgType Flag::get_locked_message_ext(char* buf, int buflen) const {
assert(buf != NULL, "Buffer cannot be NULL");
buf[0] = '\0';
! return Flag::NONE;
}
#endif // SHARE_VM_RUNTIME_GLOBALS_EXT_HPP
--- 43,70 ----
#define FLAGTABLE_EXT
// Default method implementations
! inline bool JVMFlag::is_unlocker_ext() const {
return false;
}
! inline bool JVMFlag::is_unlocked_ext() const {
return true;
}
! inline bool JVMFlag::is_writeable_ext() const {
return false;
}
! inline bool JVMFlag::is_external_ext() const {
return false;
}
! inline JVMFlag::MsgType JVMFlag::get_locked_message_ext(char* buf, int buflen) const {
assert(buf != NULL, "Buffer cannot be NULL");
buf[0] = '\0';
! return JVMFlag::NONE;
}
#endif // SHARE_VM_RUNTIME_GLOBALS_EXT_HPP
src/hotspot/share/runtime/globals_ext.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File