Mercurial > hg > graal-compiler
view test/runtime/6626217/You_Have_Been_P0wned.java @ 7425:1e41b0bc58a0
8004318: JEP-171: Support Unsafe fences intrinsics
Summary: Add three memory-ordering intrinsics to the sun.misc.Unsafe class.
Reviewed-by: twisti, kvn
Contributed-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
author | kvn |
---|---|
date | Tue, 18 Dec 2012 17:37:44 -0800 |
parents | 495caa35b1b5 |
children |
line wrap: on
line source
// I can cast any old thing I want to this type object: public class You_Have_Been_P0wned { // Make a bunch of int-fields so I can peek & poke it int _a; int _b; int _c; int _d; }