Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/frame.hpp @ 113:ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author | coleenp |
---|---|
date | Sun, 13 Apr 2008 17:43:42 -0400 |
parents | 93b6525e3b82 |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
110:a49a647afe9a | 113:ba764ed4b6f2 |
---|---|
248 // Find receiver for an invoke when arguments are just pushed on stack (i.e., callee stack-frame is | 248 // Find receiver for an invoke when arguments are just pushed on stack (i.e., callee stack-frame is |
249 // not setup) | 249 // not setup) |
250 oop interpreter_callee_receiver(symbolHandle signature) { return *interpreter_callee_receiver_addr(signature); } | 250 oop interpreter_callee_receiver(symbolHandle signature) { return *interpreter_callee_receiver_addr(signature); } |
251 | 251 |
252 | 252 |
253 oop *interpreter_callee_receiver_addr(symbolHandle signature); | 253 oop* interpreter_callee_receiver_addr(symbolHandle signature); |
254 | 254 |
255 | 255 |
256 // expression stack (may go up or down, direction == 1 or -1) | 256 // expression stack (may go up or down, direction == 1 or -1) |
257 public: | 257 public: |
258 intptr_t* interpreter_frame_expression_stack() const; | 258 intptr_t* interpreter_frame_expression_stack() const; |
400 void pd_gc_epilog(); | 400 void pd_gc_epilog(); |
401 | 401 |
402 # ifdef ENABLE_ZAP_DEAD_LOCALS | 402 # ifdef ENABLE_ZAP_DEAD_LOCALS |
403 private: | 403 private: |
404 class CheckValueClosure: public OopClosure { | 404 class CheckValueClosure: public OopClosure { |
405 public: void do_oop(oop* p); | 405 public: |
406 void do_oop(oop* p); | |
407 void do_oop(narrowOop* p) { ShouldNotReachHere(); } | |
406 }; | 408 }; |
407 static CheckValueClosure _check_value; | 409 static CheckValueClosure _check_value; |
408 | 410 |
409 class CheckOopClosure: public OopClosure { | 411 class CheckOopClosure: public OopClosure { |
410 public: void do_oop(oop* p); | 412 public: |
413 void do_oop(oop* p); | |
414 void do_oop(narrowOop* p) { ShouldNotReachHere(); } | |
411 }; | 415 }; |
412 static CheckOopClosure _check_oop; | 416 static CheckOopClosure _check_oop; |
413 | 417 |
414 static void check_derived_oop(oop* base, oop* derived); | 418 static void check_derived_oop(oop* base, oop* derived); |
415 | 419 |
416 class ZapDeadClosure: public OopClosure { | 420 class ZapDeadClosure: public OopClosure { |
417 public: void do_oop(oop* p); | 421 public: |
422 void do_oop(oop* p); | |
423 void do_oop(narrowOop* p) { ShouldNotReachHere(); } | |
418 }; | 424 }; |
419 static ZapDeadClosure _zap_dead; | 425 static ZapDeadClosure _zap_dead; |
420 | 426 |
421 public: | 427 public: |
422 // Zapping | 428 // Zapping |