On 12/1/06, Xiao-Feng Li <[EMAIL PROTECTED]> wrote:
Agree with Ivan, probably this next-to-high-bit thing is outdated, I remember Mikail Fursov said the finalize property will be checked outside the allocation invocation. (So agree with Gregory as well this may have nothing to do with JVMTI.)
JIT checks finalizable property for an object only for inlining of allocation helpers. If object is finalizable the allocation helper is not inlined and usual VM helper is called. This is all what JIT does for finalizable objects today. Usual VM helper must check finalizable property by itself. Today this check is done inside of GC_CC - fast_alloc fails if object is finalizable so VM have to call slow_alloc. -- Mikhail Fursov