We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ffa290 commit e82103cCopy full SHA for e82103c
java_runtime/src/classes/java/lang/system.rs
@@ -93,11 +93,10 @@ impl System {
93
Ok(context.now() as _)
94
}
95
96
- async fn gc(_jvm: &Jvm, _: &mut RuntimeContext) -> Result<()> {
+ async fn gc(jvm: &Jvm, _: &mut RuntimeContext) -> Result<()> {
97
tracing::debug!("java.lang.System::gc()");
98
99
- // TODO gc experimental
100
- // jvm.collect_garbage()?;
+ jvm.collect_garbage()?;
101
102
Ok(())
103
0 commit comments