Skip to content

Commit 7969a4e

Browse files
committed
Disable gc for now
1 parent 0269238 commit 7969a4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java_runtime/src/classes/java/lang/system.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ impl System {
9595
async fn gc(jvm: &Jvm, _: &mut RuntimeContext) -> Result<()> {
9696
tracing::debug!("java.lang.System::gc()");
9797

98-
jvm.collect_garbage()?;
98+
// TODO gc experimental
99+
// jvm.collect_garbage()?;
99100

100101
Ok(())
101102
}

0 commit comments

Comments
 (0)