comparison src/os_cpu/windows_x86/vm/assembler_windows_x86_32.cpp @ 168:7793bd37a336

6705887: Compressed Oops: generate x64 addressing and implicit null checks with narrow oops Summary: Generate addresses and implicit null checks with narrow oops to avoid decoding. Reviewed-by: jrose, never
author kvn
date Thu, 29 May 2008 12:04:14 -0700
parents a61af66fc99e
children d1605aabd0a1
comparison
equal deleted inserted replaced
167:feeb96a45707 168:7793bd37a336
57 assert(ThreadLocalStorage::get_thread_ptr_offset() != 0, 57 assert(ThreadLocalStorage::get_thread_ptr_offset() != 0,
58 "Thread Pointer Offset has not been initialized"); 58 "Thread Pointer Offset has not been initialized");
59 movl(thread, Address(thread, ThreadLocalStorage::get_thread_ptr_offset())); 59 movl(thread, Address(thread, ThreadLocalStorage::get_thread_ptr_offset()));
60 } 60 }
61 61
62 bool MacroAssembler::needs_explicit_null_check(int offset) { 62 bool MacroAssembler::needs_explicit_null_check(intptr_t offset) {
63 return offset < 0 || (int)os::vm_page_size() <= offset; 63 return offset < 0 || (int)os::vm_page_size() <= offset;
64 } 64 }