Mercurial > hg > graal-jvmci-8
diff src/share/vm/classfile/symbolTable.hpp @ 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 | e4f764ddb06a |
children | 8dbc025ff709 |
line wrap: on
line diff
--- a/src/share/vm/classfile/symbolTable.hpp Thu Mar 28 15:39:52 2013 +0100 +++ b/src/share/vm/classfile/symbolTable.hpp Tue Apr 02 11:28:33 2013 +0200 @@ -287,6 +287,7 @@ // Probing static oop lookup(Symbol* symbol); + static oop lookup(jchar* chars, int length); // Interning static oop intern(Symbol* symbol, TRAPS);