--- old/src/share/vm/jvmci/jvmciCompilerToVM.cpp 2016-09-13 17:10:46.024105410 +0200 +++ new/src/share/vm/jvmci/jvmciCompilerToVM.cpp 2016-09-13 17:10:45.916105405 +0200 @@ -112,7 +112,7 @@ bool CompilerToVM::Data::_supports_inline_contig_alloc; HeapWord** CompilerToVM::Data::_heap_end_addr; -HeapWord** CompilerToVM::Data::_heap_top_addr; +HeapWord* volatile* CompilerToVM::Data::_heap_top_addr; int CompilerToVM::Data::_max_oop_map_stack_offset; jbyte* CompilerToVM::Data::cardtable_start_address; @@ -153,7 +153,7 @@ _supports_inline_contig_alloc = Universe::heap()->supports_inline_contig_alloc(); _heap_end_addr = _supports_inline_contig_alloc ? Universe::heap()->end_addr() : (HeapWord**) -1; - _heap_top_addr = _supports_inline_contig_alloc ? Universe::heap()->top_addr() : (HeapWord**) -1; + _heap_top_addr = _supports_inline_contig_alloc ? Universe::heap()->top_addr() : (HeapWord* volatile*) -1; _max_oop_map_stack_offset = (OopMapValue::register_mask - VMRegImpl::stack2reg(0)->value()) * VMRegImpl::stack_slot_size; int max_oop_map_stack_index = _max_oop_map_stack_offset / VMRegImpl::stack_slot_size; @@ -1604,4 +1604,3 @@ int CompilerToVM::methods_count() { return sizeof(methods) / sizeof(JNINativeMethod); } -