--- old/src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp 2018-01-29 16:16:23.000000000 -0600 +++ new/src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp 2018-01-29 16:16:22.000000000 -0600 @@ -279,11 +279,11 @@ address os::current_stack_pointer() { #if defined(__clang__) || defined(__llvm__) register void *esp; - __asm__("mov %%"SPELL_REG_SP", %0":"=r"(esp)); + __asm__("mov %%" SPELL_REG_SP ", %0":"=r"(esp)); return (address) esp; #elif defined(SPARC_WORKS) register void *esp; - __asm__("mov %%"SPELL_REG_SP", %0":"=r"(esp)); + __asm__("mov %%" SPELL_REG_SP ", %0":"=r"(esp)); return (address) ((char*)esp + sizeof(long)*2); #else register void *esp __asm__ (SPELL_REG_SP); @@ -415,7 +415,7 @@ intptr_t* _get_previous_fp() { #if defined(SPARC_WORKS) || defined(__clang__) || defined(__llvm__) register intptr_t **ebp; - __asm__("mov %%"SPELL_REG_FP", %0":"=r"(ebp)); + __asm__("mov %%" SPELL_REG_FP ", %0":"=r"(ebp)); #else register intptr_t **ebp __asm__ (SPELL_REG_FP); #endif --- old/src/hotspot/share/code/compiledIC.cpp 2018-01-29 16:16:23.000000000 -0600 +++ new/src/hotspot/share/code/compiledIC.cpp 2018-01-29 16:16:23.000000000 -0600 @@ -224,7 +224,7 @@ assert(bytecode == Bytecodes::_invokeinterface, ""); int itable_index = call_info->itable_index(); entry = VtableStubs::find_itable_stub(itable_index); - if (entry == false) { + if (entry == NULL) { return false; } #ifdef ASSERT --- old/src/hotspot/share/logging/logConfiguration.cpp 2018-01-29 16:16:24.000000000 -0600 +++ new/src/hotspot/share/logging/logConfiguration.cpp 2018-01-29 16:16:24.000000000 -0600 @@ -296,7 +296,7 @@ notify_update_listeners(); } -void LogConfiguration::configure_stdout(LogLevelType level, bool exact_match, ...) { +void LogConfiguration::configure_stdout(LogLevelType level, int exact_match, ...) { size_t i; va_list ap; LogTagLevelExpression expr; --- old/src/hotspot/share/logging/logConfiguration.hpp 2018-01-29 16:16:25.000000000 -0600 +++ new/src/hotspot/share/logging/logConfiguration.hpp 2018-01-29 16:16:25.000000000 -0600 @@ -102,7 +102,7 @@ // (exact_match=false is the same as "-Xlog:*=", and exact_match=true is "-Xlog:="). // Tags should be specified using the LOG_TAGS macro, e.g. // LogConfiguration::configure_stdout(LogLevel::, , LOG_TAGS()); - static void configure_stdout(LogLevelType level, bool exact_match, ...); + static void configure_stdout(LogLevelType level, int exact_match, ...); // Parse command line configuration. Parameter 'opts' is the string immediately following the -Xlog: argument ("gc" for -Xlog:gc). static bool parse_command_line_arguments(const char* opts = "all"); --- old/src/hotspot/share/logging/logTagLevelExpression.hpp 2018-01-29 16:16:26.000000000 -0600 +++ new/src/hotspot/share/logging/logTagLevelExpression.hpp 2018-01-29 16:16:26.000000000 -0600 @@ -40,7 +40,7 @@ static const size_t MaxCombinations = 256; private: - friend void LogConfiguration::configure_stdout(LogLevelType, bool, ...); + friend void LogConfiguration::configure_stdout(LogLevelType, int, ...); static const char* DefaultExpressionString; --- old/src/hotspot/share/oops/accessBackend.cpp 2018-01-29 16:16:27.000000000 -0600 +++ new/src/hotspot/share/oops/accessBackend.cpp 2018-01-29 16:16:26.000000000 -0600 @@ -172,18 +172,3 @@ Copy::conjoint_jlongs_atomic(src, dst, length); } } - -template void AccessInternal::arraycopy_conjoint(jbyte* src, jbyte* dst, size_t length); -template void AccessInternal::arraycopy_conjoint(jshort* src, jshort* dst, size_t length); -template void AccessInternal::arraycopy_conjoint(jint* src, jint* dst, size_t length); -template void AccessInternal::arraycopy_conjoint(jlong* src, jlong* dst, size_t length); - -template void AccessInternal::arraycopy_arrayof_conjoint(jbyte* src, jbyte* dst, size_t length); -template void AccessInternal::arraycopy_arrayof_conjoint(jshort* src, jshort* dst, size_t length); -template void AccessInternal::arraycopy_arrayof_conjoint(jint* src, jint* dst, size_t length); -template void AccessInternal::arraycopy_arrayof_conjoint(jlong* src, jlong* dst, size_t length); - -template void AccessInternal::arraycopy_conjoint_atomic(jbyte* src, jbyte* dst, size_t length); -template void AccessInternal::arraycopy_conjoint_atomic(jshort* src, jshort* dst, size_t length); -template void AccessInternal::arraycopy_conjoint_atomic(jint* src, jint* dst, size_t length); -template void AccessInternal::arraycopy_conjoint_atomic(jlong* src, jlong* dst, size_t length); --- old/src/hotspot/share/utilities/vmError.cpp 2018-01-29 16:16:27.000000000 -0600 +++ new/src/hotspot/share/utilities/vmError.cpp 2018-01-29 16:16:27.000000000 -0600 @@ -480,7 +480,7 @@ STEP("printing type of error") - switch(_id) { + switch(static_cast(_id)) { case OOM_MALLOC_ERROR: case OOM_MMAP_ERROR: if (_size) {