view test/runtime/6929067/T.java @ 6977:ed8b1e39ff4f

8002273: NMT to report JNI memory leaks when -Xcheck:jni is on Summary: Allows NMT to report that JNI thread failed to detach from JVM before exiting, which leaks the JavaThread object when check:jni option is on. Reviewed-by: acorn, dholmes, coleenp, ctornqvi
author zgu
date Fri, 09 Nov 2012 11:04:06 -0500
parents 3b3d12e645e7
children
line wrap: on
line source

public class T
{
  public static boolean foo(boolean bar)
  {
    return bar;
  }

  public static void printIt()
  {
    System.out.println("Hello");
  }
}