Mercurial > hg > truffle
comparison src/cpu/x86/vm/x86_32.ad @ 4763:1dc233a8c7fe
7121140: Allocation paths require explicit memory synchronization operations for RMO systems
Summary: adds store store barrier after initialization of header and body of objects.
Reviewed-by: never, kvn
author | roland |
---|---|
date | Tue, 20 Dec 2011 16:56:50 +0100 |
parents | 65149e74c706 |
children | e9a5e0a812c8 |
comparison
equal
deleted
inserted
replaced
4762:069ab3f976d3 | 4763:1dc233a8c7fe |
---|---|
7362 predicate(Matcher::post_store_load_barrier(n)); | 7362 predicate(Matcher::post_store_load_barrier(n)); |
7363 ins_cost(0); | 7363 ins_cost(0); |
7364 | 7364 |
7365 size(0); | 7365 size(0); |
7366 format %{ "MEMBAR-volatile (unnecessary so empty encoding)" %} | 7366 format %{ "MEMBAR-volatile (unnecessary so empty encoding)" %} |
7367 ins_encode( ); | |
7368 ins_pipe(empty); | |
7369 %} | |
7370 | |
7371 instruct membar_storestore() %{ | |
7372 match(MemBarStoreStore); | |
7373 ins_cost(0); | |
7374 | |
7375 size(0); | |
7376 format %{ "MEMBAR-storestore (empty encoding)" %} | |
7367 ins_encode( ); | 7377 ins_encode( ); |
7368 ins_pipe(empty); | 7378 ins_pipe(empty); |
7369 %} | 7379 %} |
7370 | 7380 |
7371 //----------Move Instructions-------------------------------------------------- | 7381 //----------Move Instructions-------------------------------------------------- |