Mercurial > hg > graal-compiler
comparison src/share/vm/oops/klass.hpp @ 8712:3efdfd6ddbf2
8003553: NPG: metaspace objects should be zeroed in constructors
Summary: Zero metadata in constructors, not in allocation (and some in constructors)
Reviewed-by: jmasa, sspitsyn
author | coleenp |
---|---|
date | Fri, 08 Mar 2013 11:47:57 -0500 |
parents | 3c9bc17b9403 |
children | b9a918201d47 92ef81e2f571 |
comparison
equal
deleted
inserted
replaced
8711:6b803ba47588 | 8712:3efdfd6ddbf2 |
---|---|
77 // [modifier_flags] | 77 // [modifier_flags] |
78 // [access_flags ] | 78 // [access_flags ] |
79 // [last_biased_lock_bulk_revocation_time] (64 bits) | 79 // [last_biased_lock_bulk_revocation_time] (64 bits) |
80 // [prototype_header] | 80 // [prototype_header] |
81 // [biased_lock_revocation_count] | 81 // [biased_lock_revocation_count] |
82 // [verify_count ] - not in product | |
83 // [alloc_count ] | 82 // [alloc_count ] |
84 // [_modified_oops] | 83 // [_modified_oops] |
85 // [_accumulated_modified_oops] | 84 // [_accumulated_modified_oops] |
86 // [trace_id] | 85 // [trace_id] |
87 | 86 |
169 // Biased locking implementation and statistics | 168 // Biased locking implementation and statistics |
170 // (the 64-bit chunk goes first, to avoid some fragmentation) | 169 // (the 64-bit chunk goes first, to avoid some fragmentation) |
171 jlong _last_biased_lock_bulk_revocation_time; | 170 jlong _last_biased_lock_bulk_revocation_time; |
172 markOop _prototype_header; // Used when biased locking is both enabled and disabled for this type | 171 markOop _prototype_header; // Used when biased locking is both enabled and disabled for this type |
173 jint _biased_lock_revocation_count; | 172 jint _biased_lock_revocation_count; |
174 | |
175 #ifndef PRODUCT | |
176 int _verify_count; // to avoid redundant verifies | |
177 #endif | |
178 | 173 |
179 juint _alloc_count; // allocation profiling support | 174 juint _alloc_count; // allocation profiling support |
180 | 175 |
181 TRACE_DEFINE_KLASS_TRACE_ID; | 176 TRACE_DEFINE_KLASS_TRACE_ID; |
182 | 177 |