Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
8849:e458120c6e1a | 8850:ede380e13960 |
---|---|
285 // Internal test. | 285 // Internal test. |
286 static void test_alt_hash() PRODUCT_RETURN; | 286 static void test_alt_hash() PRODUCT_RETURN; |
287 | 287 |
288 // Probing | 288 // Probing |
289 static oop lookup(Symbol* symbol); | 289 static oop lookup(Symbol* symbol); |
290 static oop lookup(jchar* chars, int length); | |
290 | 291 |
291 // Interning | 292 // Interning |
292 static oop intern(Symbol* symbol, TRAPS); | 293 static oop intern(Symbol* symbol, TRAPS); |
293 static oop intern(oop string, TRAPS); | 294 static oop intern(oop string, TRAPS); |
294 static oop intern(const char *utf8_string, TRAPS); | 295 static oop intern(const char *utf8_string, TRAPS); |