Mercurial > hg > truffle
diff src/share/vm/ci/bcEscapeAnalyzer.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 | 7f813940ac35 |
children | bb33c6fdcf0d |
line wrap: on
line diff
--- a/src/share/vm/ci/bcEscapeAnalyzer.cpp Fri Aug 31 16:39:35 2012 -0700 +++ b/src/share/vm/ci/bcEscapeAnalyzer.cpp Sat Sep 01 13:25:18 2012 -0400 @@ -1302,9 +1302,9 @@ // Clear all info since method's bytecode was not analysed and // set pessimistic escape information. clear_escape_info(); - methodData()->set_eflag(methodDataOopDesc::allocated_escapes); - methodData()->set_eflag(methodDataOopDesc::unknown_modified); - methodData()->set_eflag(methodDataOopDesc::estimated); + methodData()->set_eflag(MethodData::allocated_escapes); + methodData()->set_eflag(MethodData::unknown_modified); + methodData()->set_eflag(MethodData::estimated); return; } @@ -1332,18 +1332,18 @@ methodData()->set_arg_modified(i, _arg_modified[i]); } if (_return_local) { - methodData()->set_eflag(methodDataOopDesc::return_local); + methodData()->set_eflag(MethodData::return_local); } if (_return_allocated) { - methodData()->set_eflag(methodDataOopDesc::return_allocated); + methodData()->set_eflag(MethodData::return_allocated); } if (_allocated_escapes) { - methodData()->set_eflag(methodDataOopDesc::allocated_escapes); + methodData()->set_eflag(MethodData::allocated_escapes); } if (_unknown_modified) { - methodData()->set_eflag(methodDataOopDesc::unknown_modified); + methodData()->set_eflag(MethodData::unknown_modified); } - methodData()->set_eflag(methodDataOopDesc::estimated); + methodData()->set_eflag(MethodData::estimated); } } @@ -1360,10 +1360,10 @@ _arg_returned.set(i); _arg_modified[i] = methodData()->arg_modified(i); } - _return_local = methodData()->eflag_set(methodDataOopDesc::return_local); - _return_allocated = methodData()->eflag_set(methodDataOopDesc::return_allocated); - _allocated_escapes = methodData()->eflag_set(methodDataOopDesc::allocated_escapes); - _unknown_modified = methodData()->eflag_set(methodDataOopDesc::unknown_modified); + _return_local = methodData()->eflag_set(MethodData::return_local); + _return_allocated = methodData()->eflag_set(MethodData::return_allocated); + _allocated_escapes = methodData()->eflag_set(MethodData::allocated_escapes); + _unknown_modified = methodData()->eflag_set(MethodData::unknown_modified); }