From e19297ed96bd98e4ea7a41fab1bd21c19476b1a5 Mon Sep 17 00:00:00 2001 From: acorn Date: Thu, 2 May 2013 10:58:04 -0400 Subject: [PATCH] 8010783: assert(s->refcount() != 0) failed: for create_overpasses Reviewed-by: kvn, dcubed --- src/share/vm/classfile/bytecodeAssembler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/vm/classfile/bytecodeAssembler.cpp b/src/share/vm/classfile/bytecodeAssembler.cpp index c7e08d94c..77b6a9ea7 100644 --- a/src/share/vm/classfile/bytecodeAssembler.cpp +++ b/src/share/vm/classfile/bytecodeAssembler.cpp @@ -75,8 +75,8 @@ ConstantPool* BytecodeConstantPool::create_constant_pool(TRAPS) const { int idx = i + _orig->length(); switch (entry._tag) { case BytecodeCPEntry::UTF8: - cp->symbol_at_put(idx, entry._u.utf8); entry._u.utf8->increment_refcount(); + cp->symbol_at_put(idx, entry._u.utf8); break; case BytecodeCPEntry::KLASS: cp->unresolved_klass_at_put( -- GitLab