Mercurial > hg > truffle
comparison src/share/vm/opto/compile.hpp @ 6888:cfe522e6461c
8000623: tools/javac/Diagnostics/6769027/T6769027.java crashes in PSPromotionManager::copy_to_survivor_space
Summary: Fix type of method pointer load from vtable.
Reviewed-by: twisti, johnc, roland
author | kvn |
---|---|
date | Wed, 17 Oct 2012 12:09:32 -0700 |
parents | 137868b7aa6f |
children | 2aff40cb4703 |
comparison
equal
deleted
inserted
replaced
6861:58fbf2da3c16 | 6888:cfe522e6461c |
---|---|
147 // Constant entry of the constant table. | 147 // Constant entry of the constant table. |
148 class Constant { | 148 class Constant { |
149 private: | 149 private: |
150 BasicType _type; | 150 BasicType _type; |
151 union { | 151 union { |
152 jvalue _value; | 152 jvalue _value; |
153 Metadata* _metadata; | 153 Metadata* _metadata; |
154 } _v; | 154 } _v; |
155 int _offset; // offset of this constant (in bytes) relative to the constant table base. | 155 int _offset; // offset of this constant (in bytes) relative to the constant table base. |
156 float _freq; | 156 float _freq; |
157 bool _can_be_reused; // true (default) if the value can be shared with other users. | 157 bool _can_be_reused; // true (default) if the value can be shared with other users. |