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;
014
015 import org.mmtk.utility.alloc.BumpPointer;
016
017 import org.vmmagic.pragma.*;
018
019 /**
020 * This class implements unsynchronized (local) elements of a
021 * copying collector. Allocation is via the bump pointer
022 * (@see BumpPointer).
023 *
024 * @see BumpPointer
025 * @see CopySpace
026 */
027 @Uninterruptible public final class CopyLocal extends BumpPointer {
028
029 /**
030 * Constructor
031 *
032 * @param space The space to bump point into.
033 */
034 public CopyLocal(CopySpace space) {
035 super(space, true);
036 }
037
038 /**
039 * Constructor
040 */
041 public CopyLocal() {
042 super(null, true);
043 }
044 }