Mercurial > hg > truffle
comparison src/share/vm/oops/constantPool.hpp @ 12285:7c29904fdfa2
8014956: nashorn/api/javaaccess/MethodAccessTest.java test fails on sparc-solaris 64
Summary: reference_map[] array had uninitialized junk that was causing a bogus bootstrap method to be found.
Reviewed-by: hseigel, dcubed, sspitsyn
author | coleenp |
---|---|
date | Fri, 20 Sep 2013 18:34:00 -0400 |
parents | 92ef81e2f571 |
children | a7609ec351d6 |
comparison
equal
deleted
inserted
replaced
12282:f201713502e0 | 12285:7c29904fdfa2 |
---|---|
229 // Assembly code support | 229 // Assembly code support |
230 static int tags_offset_in_bytes() { return offset_of(ConstantPool, _tags); } | 230 static int tags_offset_in_bytes() { return offset_of(ConstantPool, _tags); } |
231 static int cache_offset_in_bytes() { return offset_of(ConstantPool, _cache); } | 231 static int cache_offset_in_bytes() { return offset_of(ConstantPool, _cache); } |
232 static int pool_holder_offset_in_bytes() { return offset_of(ConstantPool, _pool_holder); } | 232 static int pool_holder_offset_in_bytes() { return offset_of(ConstantPool, _pool_holder); } |
233 static int resolved_references_offset_in_bytes() { return offset_of(ConstantPool, _resolved_references); } | 233 static int resolved_references_offset_in_bytes() { return offset_of(ConstantPool, _resolved_references); } |
234 static int reference_map_offset_in_bytes() { return offset_of(ConstantPool, _reference_map); } | |
235 | 234 |
236 // Storing constants | 235 // Storing constants |
237 | 236 |
238 void klass_at_put(int which, Klass* k) { | 237 void klass_at_put(int which, Klass* k) { |
239 assert(k != NULL, "resolved class shouldn't be null"); | 238 assert(k != NULL, "resolved class shouldn't be null"); |