Skip to content

Commit

Permalink
Actually use the cached Symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed May 28, 2024
1 parent be85c7d commit 0259e72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ public void dumpDefaultObjectHeader(ThreadContext context, RubyOutputStream out,
public void dumpDefaultObjectHeader(ThreadContext context, RubyOutputStream out, char tp, RubyClass type) {
dumpExtended(context, out, type);
out.write(tp);
writeAndRegisterSymbol(out, RubySymbol.newSymbol(context.runtime, getPathFromClass(context, type.getRealClass())));
writeAndRegisterSymbol(out, getPathFromClass(context, type.getRealClass()));
}

public void writeString(RubyOutputStream out, String value) {
Expand Down

0 comments on commit 0259e72

Please sign in to comment.