Skip to content

Commit 6282157

Browse files
committed
TruffleString added to includeInstance()
1 parent 8d89e97 commit 6282157

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

visualvm/heapviewer.truffle/src/org/graalvm/visualvm/heapviewer/truffle/lang/javascript/JavaScriptObjectProperties.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ protected boolean includeInstance(Instance instance) {
9797
if (className.startsWith("java.lang.") || // NOI18N
9898
className.startsWith("java.math.") || // NOI18N
9999
className.startsWith("com.oracle.truffle.js.runtime.objects.") || // NOI18N
100-
className.startsWith("com.oracle.truffle.api.object.DynamicObject[]")) // NOI18N
100+
className.startsWith("com.oracle.truffle.api.object.DynamicObject[]") || // NOI18N
101+
className.startsWith("com.oracle.truffle.api.strings.")) // NOI18N
101102
return true;
102103

103104
return false;

visualvm/heapviewer.truffle/src/org/graalvm/visualvm/heapviewer/truffle/lang/ruby/RubyObjectProperties.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ protected boolean includeInstance(Instance instance) {
9696

9797
if (className.startsWith("java.lang.") || // NOI18N
9898
className.startsWith("java.math.") || // NOI18N
99-
className.startsWith("org.truffleruby.core.rope.")) // NOI18N
99+
className.startsWith("org.truffleruby.core.rope.") || // NOI18N
100+
className.startsWith("com.oracle.truffle.api.strings.")) // NOI18N
100101
return true;
101102

102103
return false;

0 commit comments

Comments
 (0)