File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/main/java/org/truffleruby Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1333,7 +1333,7 @@ protected UnwrapNode createUnwrapNode() {
1333
1333
}
1334
1334
}
1335
1335
1336
- private static ThreadLocal <ArrayList <Object >> markList = new ThreadLocal <>();
1336
+ private static final ThreadLocal <ArrayList <Object >> markList = new ThreadLocal <>();
1337
1337
1338
1338
@ CoreMethod (names = "create_mark_list" , onSingleton = true , required = 0 )
1339
1339
public abstract static class NewMarkerList extends CoreMethodArrayArgumentsNode {
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ public static Set<DynamicObject> getAdjacentObjects(DynamicObject object) {
131
131
}
132
132
} else if (propertyValue instanceof Object []) {
133
133
for (Object element : (Object []) propertyValue ) {
134
+ // Needed to get wrappers set by Truffle::Cext.set_mark_list_on_object.
134
135
if (element instanceof ValueWrapper ) {
135
136
element = ((ValueWrapper ) element ).getObject ();
136
137
}
You can’t perform that action at this time.
0 commit comments