Mercurial > hg > graal-jvmci-8
comparison src/os_cpu/solaris_x86/vm/assembler_solaris_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 |
---|---|
78 popl(rcx); | 78 popl(rcx); |
79 if (thread != rax) popl(rax); | 79 if (thread != rax) popl(rax); |
80 popl(thread); | 80 popl(thread); |
81 } | 81 } |
82 | 82 |
83 bool MacroAssembler::needs_explicit_null_check(int offset) { | 83 bool MacroAssembler::needs_explicit_null_check(intptr_t offset) { |
84 // Identical to Sparc/Solaris code | 84 // Identical to Sparc/Solaris code |
85 bool offset_in_first_page = 0 <= offset && offset < os::vm_page_size(); | 85 bool offset_in_first_page = 0 <= offset && offset < os::vm_page_size(); |
86 return !offset_in_first_page; | 86 return !offset_in_first_page; |
87 } | 87 } |