synchronization on non-escaping objects

Vijay Kandy vkandy at gmail.com
Thu Nov 19 19:50:53 PST 2009


> Also no instructions are generated for MEMBARs you pointed -
> look on instructions address. They are printed for debugging purpose.
> They are empty because they are not needed for an object which
> is biased locked for the current thread. And slow code has CMPXCHG
> which is treated as MEMBAR.
>
> Vladimir
>

Thanks a lot Vladimir. That's precisely what I wanted to know.

Regards,
Vijay


More information about the hotspot-dev mailing list