On 02/17/2015 06:42 PM, John Rose wrote: > The remaining store fence is probably a bug. A store fence for scalarized > (lifted-out-of-memory) final fields should go away, since the fields are not > actually stored in heap memory.
After inlining how would escape analysis know that the store fence is associated with final fields rather than, say, an explicit Unsafe.storeFence() ? Andrew.