graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File GRAAL-213 Sdiff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot

graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java

Print this page


   1 /*
   2  * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 package com.oracle.graal.hotspot;
  24 
  25 /**
  26  * Used to communicate configuration details, runtime offsets, etc. to Graal upon compileMethod.
  27  */
  28 public final class HotSpotVMConfig extends CompilerObject {
  29 
  30     private static final long serialVersionUID = -4744897993263044184L;
  31 
  32     HotSpotVMConfig() {
  33     }
  34 
  35     // os information, register layout, code generation, ...
  36     public boolean windowsOs;
  37     public int codeEntryAlignment;
  38     public boolean verifyOops;
  39     public boolean ciTime;


  40     public boolean useFastLocking;
  41     public boolean useTLAB;
  42     public boolean useBiasedLocking;
  43     public boolean usePopCountInstruction;
  44     public boolean useAESIntrinsics;
  45     public boolean useG1GC;
  46 
  47     // offsets, ...
  48     public int stackShadowPages;
  49 
  50     /**
  51      * The offset of the mark word in an object's header.
  52      */
  53     public int markOffset;
  54 
  55     /**
  56      * The offset of the hub (i.e. Klass*) in an object's header.
  57      */
  58     public int hubOffset;
  59 


   1 /*
   2  * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 package com.oracle.graal.hotspot;
  24 
  25 /**
  26  * Used to communicate configuration details, runtime offsets, etc. to Graal upon compileMethod.
  27  */
  28 public final class HotSpotVMConfig extends CompilerObject {
  29 
  30     private static final long serialVersionUID = -4744897993263044184L;
  31 
  32     HotSpotVMConfig() {
  33     }
  34 
  35     // os information, register layout, code generation, ...
  36     public boolean windowsOs;
  37     public int codeEntryAlignment;
  38     public boolean verifyOops;
  39     public boolean ciTime;
  40     public boolean printCompilation;
  41     public boolean printInlining;
  42     public boolean useFastLocking;
  43     public boolean useTLAB;
  44     public boolean useBiasedLocking;
  45     public boolean usePopCountInstruction;
  46     public boolean useAESIntrinsics;
  47     public boolean useG1GC;
  48 
  49     // offsets, ...
  50     public int stackShadowPages;
  51 
  52     /**
  53      * The offset of the mark word in an object's header.
  54      */
  55     public int markOffset;
  56 
  57     /**
  58      * The offset of the hub (i.e. Klass*) in an object's header.
  59      */
  60     public int hubOffset;
  61 


graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File