diff -r 580bb0b85f63 -r 7e958a8ebcd3 src/hotspot/share/ci/ciUtilities.hpp --- a/src/hotspot/share/ci/ciUtilities.hpp Mon Feb 26 09:34:20 2018 +0100 +++ b/src/hotspot/share/ci/ciUtilities.hpp Mon Feb 26 09:34:12 2018 +0100 @@ -27,6 +27,7 @@ #include "ci/ciEnv.hpp" #include "runtime/interfaceSupport.hpp" +#include "utilities/globalDefinitions.hpp" // The following routines and definitions are used internally in the // compiler interface. @@ -114,4 +115,9 @@ const char* basictype_to_str(BasicType t); const char basictype_to_char(BasicType t); +jbyte *ci_card_table_address(); +template T ci_card_table_address_as() { + return reinterpret_cast(ci_card_table_address()); +} + #endif // SHARE_VM_CI_CIUTILITIES_HPP