src/share/vm/classfile/symbolTable.cpp

changeset 5785
a5ac0873476c
parent 5784
190899198332
parent 5775
461159cd7a91
child 6229
5a32d2a3cc1e
     1.1 --- a/src/share/vm/classfile/symbolTable.cpp	Thu Sep 26 10:25:02 2013 -0400
     1.2 +++ b/src/share/vm/classfile/symbolTable.cpp	Fri Sep 27 10:08:56 2013 -0400
     1.3 @@ -341,7 +341,7 @@
     1.4  
     1.5  Symbol* SymbolTable::basic_add(int index_arg, u1 *name, int len,
     1.6                                 unsigned int hashValue_arg, bool c_heap, TRAPS) {
     1.7 -  assert(!Universe::heap()->is_in_reserved(name) || GC_locker::is_active(),
     1.8 +  assert(!Universe::heap()->is_in_reserved(name),
     1.9           "proposed name of symbol must be stable");
    1.10  
    1.11    // Don't allow symbols to be created which cannot fit in a Symbol*.
    1.12 @@ -685,7 +685,7 @@
    1.13    if (found_string != NULL) return found_string;
    1.14  
    1.15    debug_only(StableMemoryChecker smc(name, len * sizeof(name[0])));
    1.16 -  assert(!Universe::heap()->is_in_reserved(name) || GC_locker::is_active(),
    1.17 +  assert(!Universe::heap()->is_in_reserved(name),
    1.18           "proposed name of symbol must be stable");
    1.19  
    1.20    Handle string;

mercurial