Mercurial > hg > truffle
comparison src/share/vm/oops/oop.hpp @ 1579:e9ff18c4ace7
Merge
author | jrose |
---|---|
date | Wed, 02 Jun 2010 22:45:42 -0700 |
parents | c18cbe5936b8 2d127394260e |
children | 9d7a8ab3736b |
comparison
equal
deleted
inserted
replaced
1562:dfe27f03244a | 1579:e9ff18c4ace7 |
---|---|
147 | 147 |
148 public: | 148 public: |
149 // Need this as public for garbage collection. | 149 // Need this as public for garbage collection. |
150 template <class T> T* obj_field_addr(int offset) const; | 150 template <class T> T* obj_field_addr(int offset) const; |
151 | 151 |
152 // Oop encoding heap max | |
153 static const uint64_t OopEncodingHeapMax = | |
154 (uint64_t(max_juint) + 1) << LogMinObjAlignmentInBytes; | |
155 | |
156 static bool is_null(oop obj); | 152 static bool is_null(oop obj); |
157 static bool is_null(narrowOop obj); | 153 static bool is_null(narrowOop obj); |
158 | 154 |
159 // Decode an oop pointer from a narrowOop if compressed. | 155 // Decode an oop pointer from a narrowOop if compressed. |
160 // These are overloaded for oop and narrowOop as are the other functions | 156 // These are overloaded for oop and narrowOop as are the other functions |