Mercurial > hg > truffle
comparison src/share/vm/prims/jvmtiClassFileReconstituter.hpp @ 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 | d2a62e0f25eb |
children | 1cb8583c3da8 |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 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 | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
110 void write_class_file_format(); | 110 void write_class_file_format(); |
111 void write_field_infos(); | 111 void write_field_infos(); |
112 void write_method_infos(); | 112 void write_method_infos(); |
113 void write_method_info(methodHandle method); | 113 void write_method_info(methodHandle method); |
114 void write_code_attribute(methodHandle method); | 114 void write_code_attribute(methodHandle method); |
115 void write_exceptions_attribute(constMethodHandle const_method); | 115 void write_exceptions_attribute(ConstMethod* const_method); |
116 void write_synthetic_attribute(); | 116 void write_synthetic_attribute(); |
117 void write_class_attributes(); | 117 void write_class_attributes(); |
118 void write_source_file_attribute(); | 118 void write_source_file_attribute(); |
119 void write_source_debug_extension_attribute(); | 119 void write_source_debug_extension_attribute(); |
120 u2 line_number_table_entries(methodHandle method); | 120 u2 line_number_table_entries(methodHandle method); |
123 void write_stackmap_table_attribute(methodHandle method, int stackmap_table_len); | 123 void write_stackmap_table_attribute(methodHandle method, int stackmap_table_len); |
124 u2 inner_classes_attribute_length(); | 124 u2 inner_classes_attribute_length(); |
125 void write_inner_classes_attribute(int length); | 125 void write_inner_classes_attribute(int length); |
126 void write_signature_attribute(u2 generic_signaure_index); | 126 void write_signature_attribute(u2 generic_signaure_index); |
127 void write_attribute_name_index(const char* name); | 127 void write_attribute_name_index(const char* name); |
128 void write_annotations_attribute(const char* attr_name, typeArrayHandle annos); | 128 void write_annotations_attribute(const char* attr_name, AnnotationArray* annos); |
129 | 129 |
130 address writeable_address(size_t size); | 130 address writeable_address(size_t size); |
131 void write_u1(u1 x); | 131 void write_u1(u1 x); |
132 void write_u2(u2 x); | 132 void write_u2(u2 x); |
133 void write_u4(u4 x); | 133 void write_u4(u4 x); |