1.1 --- a/src/share/vm/memory/dump.cpp Thu Mar 15 13:37:13 2012 +0100 1.2 +++ b/src/share/vm/memory/dump.cpp Fri Mar 23 11:16:05 2012 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -1490,12 +1490,11 @@ 1.11 1.12 // sun.io.Converters 1.13 static const char obj_array_sig[] = "[[Ljava/lang/Object;"; 1.14 - SymbolTable::lookup(obj_array_sig, (int)strlen(obj_array_sig), THREAD); 1.15 + (void)SymbolTable::new_permanent_symbol(obj_array_sig, THREAD); 1.16 1.17 // java.util.HashMap 1.18 static const char map_entry_array_sig[] = "[Ljava/util/Map$Entry;"; 1.19 - SymbolTable::lookup(map_entry_array_sig, (int)strlen(map_entry_array_sig), 1.20 - THREAD); 1.21 + (void)SymbolTable::new_permanent_symbol(map_entry_array_sig, THREAD); 1.22 1.23 tty->print("Loading classes to share ... "); 1.24 while ((fgets(class_name, sizeof class_name, file)) != NULL) { 1.25 @@ -1514,7 +1513,7 @@ 1.26 computed_jsum = jsum(computed_jsum, class_name, (const int)name_len - 1); 1.27 1.28 // Got a class name - load it. 1.29 - TempNewSymbol class_name_symbol = SymbolTable::new_symbol(class_name, THREAD); 1.30 + Symbol* class_name_symbol = SymbolTable::new_permanent_symbol(class_name, THREAD); 1.31 guarantee(!HAS_PENDING_EXCEPTION, "Exception creating a symbol."); 1.32 klassOop klass = SystemDictionary::resolve_or_null(class_name_symbol, 1.33 THREAD);