src/share/vm/classfile/symbolTable.cpp

changeset 5775
461159cd7a91
parent 5743
63147986a428
parent 5769
2c022e432e10
child 5785
a5ac0873476c
     1.1 --- a/src/share/vm/classfile/symbolTable.cpp	Wed Sep 25 13:03:21 2013 -0400
     1.2 +++ b/src/share/vm/classfile/symbolTable.cpp	Thu Sep 26 12:18:21 2013 +0200
     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