Mercurial > hg > graal-jvmci-8
comparison test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 8850:ede380e13960
8009763: Add WB test for String.intern()
Summary: Add convenience method in StringTable, add WhiteBox method and simple sanity test
Reviewed-by: mgerdin, zgu
Contributed-by: leonid.mesnik@oracle.com
author | mgerdin |
---|---|
date | Tue, 02 Apr 2013 11:28:33 +0200 |
parents | 1b0dc9f87e75 |
children | 3b890cd4da64 b84fd7d73702 b0301c02f38e |
comparison
equal
deleted
inserted
replaced
8849:e458120c6e1a | 8850:ede380e13960 |
---|---|
92 public native int deoptimizeMethod(Method method); | 92 public native int deoptimizeMethod(Method method); |
93 public native void makeMethodNotCompilable(Method method); | 93 public native void makeMethodNotCompilable(Method method); |
94 public native int getMethodCompilationLevel(Method method); | 94 public native int getMethodCompilationLevel(Method method); |
95 public native boolean setDontInlineMethod(Method method, boolean value); | 95 public native boolean setDontInlineMethod(Method method, boolean value); |
96 public native int getCompileQueuesSize(); | 96 public native int getCompileQueuesSize(); |
97 | |
98 //Intered strings | |
99 public native boolean isInStringTable(String str); | |
100 | |
101 // force Full GC | |
102 public native void fullGC(); | |
97 } | 103 } |