Commit 2fb420e
committed
Protect entryName from being collected by the GC
j9gc_createJavaLangString can release VM access, which allows the GC
to move or collect objects. To prevent this, entryName is pushed to
a special frame before the call to j9gc_createJavaLangString. This
ensures that entryName is protected from being moved or collected by
the GC.
Related: #20870
Signed-off-by: Babneet Singh <[email protected]>1 parent 9362c83 commit 2fb420e
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
| 1113 | + | |
1113 | 1114 | | |
| 1115 | + | |
1114 | 1116 | | |
1115 | 1117 | | |
1116 | 1118 | | |
| |||
0 commit comments