Skip to content

Commit

Permalink
Merge pull request #18066 from tajila/issue1
Browse files Browse the repository at this point in the history
Add comment to System.gc() changes
  • Loading branch information
keithc-ca authored Sep 1, 2023
2 parents b212f19 + a00873b commit 9707c07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/sunvmi/sunvmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ JVM_GC_Impl(void)
vmFuncs->internalAcquireVMAccess(currentThread);
#endif /* J9VM_INTERP_ATOMIC_FREE_JNI */

/* Two GC requests are required to guarantee a GC actually occurs. */
mmFuncs->j9gc_modron_global_collect(currentThread);
mmFuncs->j9gc_modron_global_collect(currentThread);

Expand Down

0 comments on commit 9707c07

Please sign in to comment.