# HG changeset patch # User acorn # Date 1367506684 14400 # Node ID 436c6e158ce53d4c706bc63d865a1f0b47ab24d0 # Parent 795686a22bc6333239a02d13661d9177f764819b 8010783: assert(s->refcount() != 0) failed: for create_overpasses Reviewed-by: kvn, dcubed diff -r 795686a22bc6 -r 436c6e158ce5 hotspot/src/share/vm/classfile/bytecodeAssembler.cpp --- a/hotspot/src/share/vm/classfile/bytecodeAssembler.cpp Wed May 01 10:10:57 2013 -0400 +++ b/hotspot/src/share/vm/classfile/bytecodeAssembler.cpp Thu May 02 10:58:04 2013 -0400 @@ -75,8 +75,8 @@ int idx = i + _orig->length(); switch (entry._tag) { case BytecodeCPEntry::UTF8: + entry._u.utf8->increment_refcount(); cp->symbol_at_put(idx, entry._u.utf8); - entry._u.utf8->increment_refcount(); break; case BytecodeCPEntry::KLASS: cp->unresolved_klass_at_put(