Mercurial > hg > graal-jvmci-8
diff src/os/bsd/dtrace/generateJvmOffsets.cpp @ 6725:da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author | coleenp |
---|---|
date | Sat, 01 Sep 2012 13:25:18 -0400 |
parents | 436b4a3231bf |
children | 8e47bac5643a |
line wrap: on
line diff
--- a/src/os/bsd/dtrace/generateJvmOffsets.cpp Fri Aug 31 16:39:35 2012 -0700 +++ b/src/os/bsd/dtrace/generateJvmOffsets.cpp Sat Sep 01 13:25:18 2012 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2012, 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 @@ -45,9 +45,9 @@ #include "memory/heap.hpp" #include "memory/memRegion.hpp" #include "memory/universe.hpp" -#include "oops/constMethodOop.hpp" +#include "oops/constMethod.hpp" #include "oops/klass.hpp" -#include "oops/methodOop.hpp" +#include "oops/method.hpp" #include "oops/oop.hpp" #include "oops/symbol.hpp" #include "runtime/virtualspace.hpp" @@ -210,7 +210,7 @@ #endif GEN_OFFS(Klass, _name); - GEN_OFFS(constantPoolOopDesc, _pool_holder); + GEN_OFFS(ConstantPool, _pool_holder); printf("\n"); GEN_VALUE(OFFSET_HeapBlockHeader_used, (int) offset_of(HeapBlock::Header, _used)); @@ -218,21 +218,21 @@ printf("\n"); GEN_VALUE(AccessFlags_NATIVE, JVM_ACC_NATIVE); - GEN_VALUE(constMethodOopDesc_has_linenumber_table, constMethodOopDesc::_has_linenumber_table); + GEN_VALUE(ConstMethod_has_linenumber_table, ConstMethod::_has_linenumber_table); GEN_OFFS(AccessFlags, _flags); GEN_OFFS(Symbol, _length); GEN_OFFS(Symbol, _body); printf("\n"); - GEN_OFFS(methodOopDesc, _constMethod); - GEN_OFFS(methodOopDesc, _constants); - GEN_OFFS(methodOopDesc, _access_flags); + GEN_OFFS(Method, _constMethod); + GEN_OFFS(Method, _constants); + GEN_OFFS(Method, _access_flags); printf("\n"); - GEN_OFFS(constMethodOopDesc, _flags); - GEN_OFFS(constMethodOopDesc, _code_size); - GEN_OFFS(constMethodOopDesc, _name_index); - GEN_OFFS(constMethodOopDesc, _signature_index); + GEN_OFFS(ConstMethod, _flags); + GEN_OFFS(ConstMethod, _code_size); + GEN_OFFS(ConstMethod, _name_index); + GEN_OFFS(ConstMethod, _signature_index); printf("\n"); GEN_OFFS(CodeHeap, _memory); @@ -273,12 +273,12 @@ GEN_VALUE(SIZE_HeapBlockHeader, (int) sizeof(HeapBlock::Header)); GEN_SIZE(oopDesc); - GEN_SIZE(constantPoolOopDesc); + GEN_SIZE(ConstantPool); printf("\n"); GEN_SIZE(PcDesc); - GEN_SIZE(methodOopDesc); - GEN_SIZE(constMethodOopDesc); + GEN_SIZE(Method); + GEN_SIZE(ConstMethod); GEN_SIZE(nmethod); GEN_SIZE(CodeBlob); GEN_SIZE(BufferBlob);