comparison src/share/vm/shark/sharkCacheDecache.hpp @ 7212:291ffc492eb6

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Fri, 14 Dec 2012 14:35:13 +0100
parents 2cd5e15048e6
children
comparison
equal deleted inserted replaced
7163:2ed8d74e5984 7212:291ffc492eb6
190 return location_type(addr, index > 0); 190 return location_type(addr, index > 0);
191 } 191 }
192 192
193 // Writer helper 193 // Writer helper
194 protected: 194 protected:
195 void write_value_to_frame(const llvm::Type* type, 195 void write_value_to_frame(llvm::Type* type,
196 llvm::Value* value, 196 llvm::Value* value,
197 int offset); 197 int offset);
198 }; 198 };
199 199
200 class SharkJavaCallDecacher : public SharkDecacher { 200 class SharkJavaCallDecacher : public SharkDecacher {
319 return value && value->is_jobject(); 319 return value && value->is_jobject();
320 } 320 }
321 321
322 // Writer helper 322 // Writer helper
323 protected: 323 protected:
324 llvm::Value* read_value_from_frame(const llvm::Type* type, int offset); 324 llvm::Value* read_value_from_frame(llvm::Type* type, int offset);
325 }; 325 };
326 326
327 class SharkJavaCallCacher : public SharkCacher { 327 class SharkJavaCallCacher : public SharkCacher {
328 public: 328 public:
329 SharkJavaCallCacher(SharkFunction* function, ciMethod* callee) 329 SharkJavaCallCacher(SharkFunction* function, ciMethod* callee)
420 void process_monitor(int index, int box_offset, int obj_offset); 420 void process_monitor(int index, int box_offset, int obj_offset);
421 void process_local_slot(int index, SharkValue** value, int offset); 421 void process_local_slot(int index, SharkValue** value, int offset);
422 422
423 // Helper 423 // Helper
424 private: 424 private:
425 llvm::Value* CreateAddressOfOSRBufEntry(int offset, const llvm::Type* type); 425 llvm::Value* CreateAddressOfOSRBufEntry(int offset, llvm::Type* type);
426 }; 426 };
427 427
428 #endif // SHARE_VM_SHARK_SHARKCACHEDECACHE_HPP 428 #endif // SHARE_VM_SHARK_SHARKCACHEDECACHE_HPP