< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/VM.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 103,112 **** --- 103,113 ---- private int logMinObjAlignmentInBytes; private int heapWordSize; private int heapOopSize; private int klassPtrSize; private int oopSize; + private final int IndexSetSize; /** This is only present in a non-core build */ private CodeCache codeCache; /** This is only present in a C1 build */ private Runtime1 runtime1; /** These constants come from globalDefinitions.hpp */
*** 374,383 **** --- 375,385 ---- } bytesPerLong = db.lookupIntConstant("BytesPerLong").intValue(); bytesPerWord = db.lookupIntConstant("BytesPerWord").intValue(); heapWordSize = db.lookupIntConstant("HeapWordSize").intValue(); oopSize = db.lookupIntConstant("oopSize").intValue(); + IndexSetSize = db.lookupIntConstant("CompactibleFreeListSpace::IndexSetSize").intValue(); intType = db.lookupType("int"); uintType = db.lookupType("uint"); intxType = db.lookupType("intx"); uintxType = db.lookupType("uintx");
*** 592,601 **** --- 594,607 ---- public int getHeapOopSize() { return heapOopSize; } + public int getIndexSetSize() { + return IndexSetSize; + } + public int getKlassPtrSize() { return klassPtrSize; } /** Utility routine for getting data structure alignment correct */ public long alignUp(long size, long alignment) {
< prev index next >