diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntries.java @ 1437:9e5e83ca2259

Enabled -C1X:OPTIONS when running HotSpot/C1X. Enabled checkstyle for the HotSpotVM Java project.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Mon, 25 Oct 2010 16:47:52 +0200
parents efba53f86c4f
children d0c8d3a2a7e8
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntries.java	Fri Oct 22 17:33:24 2010 +0200
+++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntries.java	Mon Oct 25 16:47:52 2010 +0200
@@ -1,19 +1,22 @@
 /*
- * Copyright (c) 2009-2010 Sun Microsystems, Inc. All rights reserved.
+ * Copyright (c) 2010 Sun Microsystems, Inc.  All rights reserved.
  *
- * Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is
- * described in this document. In particular, and without limitation, these intellectual property rights may include one
- * or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent
- * applications in the U.S. and in other countries.
+ * Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product
+ * that is described in this document. In particular, and without limitation, these intellectual property
+ * rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or
+ * more additional patents or pending patent applications in the U.S. and in other countries.
  *
- * U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard
- * license agreement and applicable provisions of the FAR and its supplements.
+ * U.S. Government Rights - Commercial software. Government users are subject to the Sun
+ * Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its
+ * supplements.
  *
- * Use is subject to license terms. Sun, Sun Microsystems, the Sun logo, Java and Solaris are trademarks or registered
- * trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and
- * are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries.
+ * Use is subject to license terms. Sun, Sun Microsystems, the Sun logo, Java and Solaris are trademarks or
+ * registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks
+ * are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the
+ * U.S. and other countries.
  *
- * UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd.
+ * UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open
+ * Company, Ltd.
  */
 
 package com.sun.hotspot.c1x;
@@ -28,52 +31,55 @@
  */
 public interface VMEntries {
 
-    public byte[] RiMethod_code(long vmId);
+    // CHECKSTYLE:OFF
 
-    public int RiMethod_maxStackSize(long vmId);
+    byte[] RiMethod_code(long vmId);
 
-    public int RiMethod_maxLocals(long vmId);
+    int RiMethod_maxStackSize(long vmId);
 
-    public RiType RiMethod_holder(long vmId);
+    int RiMethod_maxLocals(long vmId);
 
-    public String RiMethod_signature(long vmId);
+    RiType RiMethod_holder(long vmId);
 
-    public int RiMethod_accessFlags(long vmId);
+    String RiMethod_signature(long vmId);
 
-    public RiType RiSignature_lookupType(String returnType, long accessingClassVmId);
+    int RiMethod_accessFlags(long vmId);
 
-    public Object RiConstantPool_lookupConstant(long vmId, int cpi);
+    RiType RiSignature_lookupType(String returnType, long accessingClassVmId);
 
-    public RiMethod RiConstantPool_lookupMethod(long vmId, int cpi, byte byteCode);
+    Object RiConstantPool_lookupConstant(long vmId, int cpi);
 
-    public RiSignature RiConstantPool_lookupSignature(long vmId, int cpi);
+    RiMethod RiConstantPool_lookupMethod(long vmId, int cpi, byte byteCode);
+
+    RiSignature RiConstantPool_lookupSignature(long vmId, int cpi);
 
-    public RiType RiConstantPool_lookupType(long vmId, int cpi);
+    RiType RiConstantPool_lookupType(long vmId, int cpi);
 
-    public RiField RiConstantPool_lookupField(long vmId, int cpi);
+    RiField RiConstantPool_lookupField(long vmId, int cpi);
 
-    public RiConstantPool RiType_constantPool(long vmId);
+    RiConstantPool RiType_constantPool(long vmId);
 
-    public void installMethod(HotSpotTargetMethod targetMethod);
+    void installMethod(HotSpotTargetMethod targetMethod);
 
-    public long installStub(HotSpotTargetMethod targetMethod);
+    long installStub(HotSpotTargetMethod targetMethod);
 
-    public HotSpotVMConfig getConfiguration();
+    HotSpotVMConfig getConfiguration();
 
-    public RiExceptionHandler[] RiMethod_exceptionHandlers(long vmId);
+    RiExceptionHandler[] RiMethod_exceptionHandlers(long vmId);
 
-    public RiMethod RiType_resolveMethodImpl(long vmId, String name, String signature);
+    RiMethod RiType_resolveMethodImpl(long vmId, String name, String signature);
 
-    public boolean RiType_isSubtypeOf(long vmId, RiType other);
+    boolean RiType_isSubtypeOf(long vmId, RiType other);
 
-    public RiType getPrimitiveArrayType(CiKind kind);
+    RiType getPrimitiveArrayType(CiKind kind);
 
-    public RiType RiType_arrayOf(long vmId);
+    RiType RiType_arrayOf(long vmId);
 
-    public RiType RiType_componentType(long vmId);
+    RiType RiType_componentType(long vmId);
 
-    public RiType getType(Class<?> javaClass);
+    RiType getType(Class<?> javaClass);
 
-    public boolean RiMethod_hasBalancedMonitors(long vmId);
+    boolean RiMethod_hasBalancedMonitors(long vmId);
 
-}
\ No newline at end of file
+    // CHECKSTYLE:ON
+}