annotate test/runtime/6626217/from_loader2.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 |
495caa35b1b5 |
children |
|
rev |
line source |
1715
|
1 // A simple class to extend an abstract class and get loaded with different
|
|
2 // loaders. This class is loaded via LOADER2.
|
|
3 public class from_loader2 implements IFace {
|
|
4 public many_loader[] gen() {
|
|
5 many_loader[] x = new many_loader[1];
|
|
6 x[0] = new many_loader();
|
|
7 return x;
|
|
8 }
|
|
9 }
|