001/*
002 *  This file is part of the Jikes RVM project (http://jikesrvm.org).
003 *
004 *  This file is licensed to You under the Eclipse Public License (EPL);
005 *  You may not use this file except in compliance with the License. You
006 *  may obtain a copy of the License at
007 *
008 *      http://www.opensource.org/licenses/eclipse-1.0.php
009 *
010 *  See the COPYRIGHT.txt file distributed with this work for information
011 *  regarding copyright ownership.
012 */
013package org.mmtk.policy.immix;
014
015import org.mmtk.utility.alloc.ImmixAllocator;
016
017import org.vmmagic.pragma.*;
018
019/**
020 *
021 */
022@Uninterruptible
023public final class MutatorLocal extends ImmixAllocator {
024  /**
025   * Constructor
026   *
027   * @param space The mark-sweep space to which this allocator
028   * instances is bound.
029   * @param hot TODO
030   */
031  public MutatorLocal(ImmixSpace space, boolean hot) {
032    super(space, hot, false);
033  }
034
035  /****************************************************************************
036   *
037   * Collection
038   */
039
040  /**
041   * Prepare for a collection. If paranoid, perform a sanity check.
042   */
043  public void prepare() {
044    reset();
045  }
046
047  /**
048   * Finish up after a collection.
049   */
050  public void release() {
051    reset();
052  }
053}