view test/runtime/6626217/from_loader2.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

// A simple class to extend an abstract class and get loaded with different
// loaders.  This class is loaded via LOADER2.
public class from_loader2 implements IFace {
  public many_loader[] gen() {
    many_loader[] x = new many_loader[1];
    x[0] = new many_loader();
    return x;
  }
}