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 */
013 package org.mmtk.policy.immix;
014
015 import org.mmtk.utility.alloc.ImmixAllocator;
016 import org.mmtk.utility.Constants;
017
018 import org.vmmagic.pragma.*;
019
020 /**
021 *
022 */
023 @Uninterruptible
024 public final class MutatorLocal extends ImmixAllocator
025 implements Constants {
026 /**
027 * Constructor
028 *
029 * @param space The mark-sweep space to which this allocator
030 * instances is bound.
031 * @param hot TODO
032 */
033 public MutatorLocal(ImmixSpace space, boolean hot) {
034 super(space, hot, false);
035 }
036
037 /****************************************************************************
038 *
039 * Collection
040 */
041
042 /**
043 * Prepare for a collection. If paranoid, perform a sanity check.
044 */
045 public void prepare() {
046 reset();
047 }
048
049 /**
050 * Finish up after a collection.
051 */
052 public void release() {
053 reset();
054 }
055 }