Skip to content

Commit 929b315

Browse files
author
hborders
committed
Merge branch 'com.sun.max.vm.reference' into com.sun.max.unsafe
2 parents aff1c4f + fbe82ff commit 929b315

6 files changed

Lines changed: 783 additions & 0 deletions

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*
2+
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
3+
*
4+
* Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product
5+
* that is described in this document. In particular, and without limitation, these intellectual property
6+
* rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or
7+
* more additional patents or pending patent applications in the U.S. and in other countries.
8+
*
9+
* U.S. Government Rights - Commercial software. Government users are subject to the Sun
10+
* Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its
11+
* supplements.
12+
*
13+
* Use is subject to license terms. Sun, Sun Microsystems, the Sun logo, Java and Solaris are trademarks or
14+
* registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks
15+
* are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the
16+
* U.S. and other countries.
17+
*
18+
* UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open
19+
* Company, Ltd.
20+
*/
21+
package com.sun.max.vm;
22+
23+
import com.sun.max.*;
24+
import com.sun.max.annotate.*;
25+
26+
/**
27+
* Denotes a package of classes that are (potentially) in the VM.
28+
*
29+
* @author Bernd Mathiske
30+
* @author Doug Simon
31+
*/
32+
public abstract class VMPackage extends MaxPackage {
33+
public VMPackage() {
34+
}
35+
36+
public boolean isPartOfMaxineVM(VMConfiguration vmConfiguration) {
37+
return true;
38+
}
39+
40+
/**
41+
* Determines if this package contains any classes annotated with {@link METHOD_SUBSTITUTIONS}.
42+
* @return
43+
*/
44+
public boolean containsMethodSubstitutions() {
45+
return false;
46+
}
47+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*
2+
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
3+
*
4+
* Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product
5+
* that is described in this document. In particular, and without limitation, these intellectual property
6+
* rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or
7+
* more additional patents or pending patent applications in the U.S. and in other countries.
8+
*
9+
* U.S. Government Rights - Commercial software. Government users are subject to the Sun
10+
* Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its
11+
* supplements.
12+
*
13+
* Use is subject to license terms. Sun, Sun Microsystems, the Sun logo, Java and Solaris are trademarks or
14+
* registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks
15+
* are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the
16+
* U.S. and other countries.
17+
*
18+
* UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open
19+
* Company, Ltd.
20+
*/
21+
package com.sun.max.vm;
22+
23+
import com.sun.max.*;
24+
25+
/**
26+
* @author Bernd Mathiske
27+
*/
28+
public interface VMScheme extends Scheme {
29+
30+
/**
31+
* Gets the class embodying the specification of the scheme implemented by this object.
32+
*/
33+
Class<? extends VMScheme> specification();
34+
35+
/**
36+
* Performs any scheme specific actions when entering a given VM phase.
37+
*
38+
* @param phase the VM phase that has just been entered
39+
*/
40+
void initialize(MaxineVM.Phase phase);
41+
42+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
3+
*
4+
* Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product
5+
* that is described in this document. In particular, and without limitation, these intellectual property
6+
* rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or
7+
* more additional patents or pending patent applications in the U.S. and in other countries.
8+
*
9+
* U.S. Government Rights - Commercial software. Government users are subject to the Sun
10+
* Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its
11+
* supplements.
12+
*
13+
* Use is subject to license terms. Sun, Sun Microsystems, the Sun logo, Java and Solaris are trademarks or
14+
* registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks
15+
* are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the
16+
* U.S. and other countries.
17+
*
18+
* UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open
19+
* Company, Ltd.
20+
*/
21+
package com.sun.max.vm.reference;
22+
23+
import com.sun.max.*;
24+
import com.sun.max.vm.*;
25+
26+
/**
27+
* @see MaxPackage
28+
*
29+
* @author Bernd Mathiske
30+
*/
31+
public class Package extends VMPackage {
32+
public Package() {
33+
super();
34+
}
35+
}

0 commit comments

Comments
 (0)