org.qbicc.plugin.gc.semispace.SemiSpaceGcFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qbicc-plugin-gc-semispace Show documentation
Show all versions of qbicc-plugin-gc-semispace Show documentation
Plugin supporting the simple semi-space GC implementation
package org.qbicc.plugin.gc.semispace;
import org.qbicc.context.CompilationContext;
import org.qbicc.plugin.gc.common.AbstractGc;
import org.qbicc.plugin.gc.common.GcFactory;
/**
*
*/
public final class SemiSpaceGcFactory implements GcFactory {
@Override
public AbstractGc createGc(CompilationContext ctxt, String name) {
return name.equals("semi") ? new SemiSpaceGc(ctxt) : null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy