view test/runtime/6626217/You_Have_Been_P0wned.java @ 24006:44c8fe602a5e

8077276: allocating heap with UseLargePages and HugeTLBFS may trash existing memory mappings (linux) Summary: Remove MAP_FIXED from initial mapping allocation; add tests Reviewed-by: stefank, coleenp
author stuefe
date Thu, 23 Apr 2015 18:00:50 +0200
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;

}