annotate src/share/vm/code/codeBlob.hpp @ 1135:e66fd840cb6b

6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164) Summary: During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately. Reviewed-by: kvn, never
author twisti
date Mon, 04 Jan 2010 18:38:08 +0100
parents 148e5441d916
children 4e6abf09f540
rev   line source
duke@0 1 /*
twisti@1135 2 * Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
duke@0 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 *
duke@0 5 * This code is free software; you can redistribute it and/or modify it
duke@0 6 * under the terms of the GNU General Public License version 2 only, as
duke@0 7 * published by the Free Software Foundation.
duke@0 8 *
duke@0 9 * This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 12 * version 2 for more details (a copy is included in the LICENSE file that
duke@0 13 * accompanied this code).
duke@0 14 *
duke@0 15 * You should have received a copy of the GNU General Public License version
duke@0 16 * 2 along with this work; if not, write to the Free Software Foundation,
duke@0 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 18 *
duke@0 19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
duke@0 20 * CA 95054 USA or visit www.sun.com if you need additional information or
duke@0 21 * have any questions.
duke@0 22 *
duke@0 23 */
duke@0 24
duke@0 25 // CodeBlob - superclass for all entries in the CodeCache.
duke@0 26 //
duke@0 27 // Suptypes are:
duke@0 28 // nmethod : Compiled Java methods (include method that calls to native code)
duke@0 29 // RuntimeStub : Call to VM runtime methods
duke@0 30 // DeoptimizationBlob : Used for deoptimizatation
duke@0 31 // ExceptionBlob : Used for stack unrolling
duke@0 32 // SafepointBlob : Used to handle illegal instruction exceptions
duke@0 33 //
duke@0 34 //
duke@0 35 // Layout:
duke@0 36 // - header
duke@0 37 // - relocation
duke@0 38 // - instruction space
duke@0 39 // - data space
duke@0 40 class DeoptimizationBlob;
duke@0 41
duke@0 42 class CodeBlob VALUE_OBJ_CLASS_SPEC {
duke@0 43
duke@0 44 friend class VMStructs;
duke@0 45
duke@0 46 private:
duke@0 47 const char* _name;
duke@0 48 int _size; // total size of CodeBlob in bytes
duke@0 49 int _header_size; // size of header (depends on subclass)
duke@0 50 int _relocation_size; // size of relocation
duke@0 51 int _instructions_offset; // offset to where instructions region begins
duke@0 52 int _frame_complete_offset; // instruction offsets in [0.._frame_complete_offset) have
duke@0 53 // not finished setting up their frame. Beware of pc's in
duke@0 54 // that range. There is a similar range(s) on returns
duke@0 55 // which we don't detect.
duke@0 56 int _data_offset; // offset to where data region begins
duke@0 57 int _oops_offset; // offset to where embedded oop table begins (inside data)
duke@0 58 int _oops_length; // number of embedded oops
duke@0 59 int _frame_size; // size of stack frame
duke@0 60 OopMapSet* _oop_maps; // OopMap for this CodeBlob
duke@0 61 CodeComments _comments;
duke@0 62
duke@0 63 friend class OopRecorder;
duke@0 64
duke@0 65 void fix_oop_relocations(address begin, address end, bool initialize_immediates);
duke@0 66 inline void initialize_immediate_oop(oop* dest, jobject handle);
duke@0 67
duke@0 68 public:
duke@0 69 // Returns the space needed for CodeBlob
duke@0 70 static unsigned int allocation_size(CodeBuffer* cb, int header_size);
duke@0 71
duke@0 72 // Creation
duke@0 73 // a) simple CodeBlob
duke@0 74 // frame_complete is the offset from the beginning of the instructions
duke@0 75 // to where the frame setup (from stackwalk viewpoint) is complete.
duke@0 76 CodeBlob(const char* name, int header_size, int size, int frame_complete, int locs_size);
duke@0 77
duke@0 78 // b) full CodeBlob
duke@0 79 CodeBlob(
duke@0 80 const char* name,
duke@0 81 CodeBuffer* cb,
duke@0 82 int header_size,
duke@0 83 int size,
duke@0 84 int frame_complete,
duke@0 85 int frame_size,
duke@0 86 OopMapSet* oop_maps
duke@0 87 );
duke@0 88
duke@0 89 // Deletion
duke@0 90 void flush();
duke@0 91
duke@0 92 // Typing
duke@0 93 virtual bool is_buffer_blob() const { return false; }
duke@0 94 virtual bool is_nmethod() const { return false; }
duke@0 95 virtual bool is_runtime_stub() const { return false; }
duke@0 96 virtual bool is_deoptimization_stub() const { return false; }
duke@0 97 virtual bool is_uncommon_trap_stub() const { return false; }
duke@0 98 virtual bool is_exception_stub() const { return false; }
duke@0 99 virtual bool is_safepoint_stub() const { return false; }
duke@0 100 virtual bool is_adapter_blob() const { return false; }
duke@0 101
duke@0 102 virtual bool is_compiled_by_c2() const { return false; }
duke@0 103 virtual bool is_compiled_by_c1() const { return false; }
duke@0 104
twisti@1135 105 // Casting
twisti@1135 106 nmethod* as_nmethod_or_null() { return is_nmethod() ? (nmethod*) this : NULL; }
twisti@1135 107
duke@0 108 // Boundaries
duke@0 109 address header_begin() const { return (address) this; }
duke@0 110 address header_end() const { return ((address) this) + _header_size; };
duke@0 111 relocInfo* relocation_begin() const { return (relocInfo*) header_end(); };
duke@0 112 relocInfo* relocation_end() const { return (relocInfo*)(header_end() + _relocation_size); }
duke@0 113 address instructions_begin() const { return (address) header_begin() + _instructions_offset; }
duke@0 114 address instructions_end() const { return (address) header_begin() + _data_offset; }
duke@0 115 address data_begin() const { return (address) header_begin() + _data_offset; }
duke@0 116 address data_end() const { return (address) header_begin() + _size; }
duke@0 117 oop* oops_begin() const { return (oop*) (header_begin() + _oops_offset); }
duke@0 118 oop* oops_end() const { return oops_begin() + _oops_length; }
duke@0 119
duke@0 120 // Offsets
duke@0 121 int relocation_offset() const { return _header_size; }
duke@0 122 int instructions_offset() const { return _instructions_offset; }
duke@0 123 int data_offset() const { return _data_offset; }
duke@0 124 int oops_offset() const { return _oops_offset; }
duke@0 125
duke@0 126 // Sizes
duke@0 127 int size() const { return _size; }
duke@0 128 int header_size() const { return _header_size; }
duke@0 129 int relocation_size() const { return (address) relocation_end() - (address) relocation_begin(); }
duke@0 130 int instructions_size() const { return instructions_end() - instructions_begin(); }
duke@0 131 int data_size() const { return data_end() - data_begin(); }
duke@0 132 int oops_size() const { return (address) oops_end() - (address) oops_begin(); }
duke@0 133
duke@0 134 // Containment
duke@0 135 bool blob_contains(address addr) const { return header_begin() <= addr && addr < data_end(); }
duke@0 136 bool relocation_contains(relocInfo* addr) const{ return relocation_begin() <= addr && addr < relocation_end(); }
duke@0 137 bool instructions_contains(address addr) const { return instructions_begin() <= addr && addr < instructions_end(); }
duke@0 138 bool data_contains(address addr) const { return data_begin() <= addr && addr < data_end(); }
duke@0 139 bool oops_contains(oop* addr) const { return oops_begin() <= addr && addr < oops_end(); }
duke@0 140 bool contains(address addr) const { return instructions_contains(addr); }
duke@0 141 bool is_frame_complete_at(address addr) const { return instructions_contains(addr) &&
duke@0 142 addr >= instructions_begin() + _frame_complete_offset; }
duke@0 143
duke@0 144 // Relocation support
duke@0 145 void fix_oop_relocations(address begin, address end) {
duke@0 146 fix_oop_relocations(begin, end, false);
duke@0 147 }
duke@0 148 void fix_oop_relocations() {
duke@0 149 fix_oop_relocations(NULL, NULL, false);
duke@0 150 }
duke@0 151 relocInfo::relocType reloc_type_for_address(address pc);
duke@0 152 bool is_at_poll_return(address pc);
duke@0 153 bool is_at_poll_or_poll_return(address pc);
duke@0 154
duke@0 155 // Support for oops in scopes and relocs:
duke@0 156 // Note: index 0 is reserved for null.
duke@0 157 oop oop_at(int index) const { return index == 0? (oop)NULL: *oop_addr_at(index); }
duke@0 158 oop* oop_addr_at(int index) const{ // for GC
duke@0 159 // relocation indexes are biased by 1 (because 0 is reserved)
duke@0 160 assert(index > 0 && index <= _oops_length, "must be a valid non-zero index");
duke@0 161 return &oops_begin()[index-1];
duke@0 162 }
duke@0 163
duke@0 164 void copy_oops(GrowableArray<jobject>* oops);
duke@0 165
duke@0 166 // CodeCache support: really only used by the nmethods, but in order to get
duke@0 167 // asserts and certain bookkeeping to work in the CodeCache they are defined
duke@0 168 // virtual here.
duke@0 169 virtual bool is_zombie() const { return false; }
duke@0 170 virtual bool is_locked_by_vm() const { return false; }
duke@0 171
duke@0 172 virtual bool is_unloaded() const { return false; }
duke@0 173 virtual bool is_not_entrant() const { return false; }
duke@0 174
duke@0 175 // GC support
duke@0 176 virtual bool is_alive() const = 0;
duke@0 177 virtual void do_unloading(BoolObjectClosure* is_alive,
duke@0 178 OopClosure* keep_alive,
duke@0 179 bool unloading_occurred);
duke@0 180 virtual void oops_do(OopClosure* f) = 0;
jrose@989 181 // (All CodeBlob subtypes other than NMethod currently have
jrose@989 182 // an empty oops_do() method.
duke@0 183
duke@0 184 // OopMap for frame
duke@0 185 OopMapSet* oop_maps() const { return _oop_maps; }
duke@0 186 void set_oop_maps(OopMapSet* p);
duke@0 187 OopMap* oop_map_for_return_address(address return_address);
duke@0 188 virtual void preserve_callee_argument_oops(frame fr, const RegisterMap* reg_map, OopClosure* f) { ShouldNotReachHere(); }
duke@0 189
duke@0 190 // Frame support
duke@0 191 int frame_size() const { return _frame_size; }
duke@0 192 void set_frame_size(int size) { _frame_size = size; }
duke@0 193
duke@0 194 // Returns true, if the next frame is responsible for GC'ing oops passed as arguments
duke@0 195 virtual bool caller_must_gc_arguments(JavaThread* thread) const { return false; }
duke@0 196
duke@0 197 // Naming
duke@0 198 const char* name() const { return _name; }
duke@0 199 void set_name(const char* name) { _name = name; }
duke@0 200
duke@0 201 // Debugging
duke@0 202 virtual void verify();
duke@0 203 virtual void print() const PRODUCT_RETURN;
duke@0 204 virtual void print_value_on(outputStream* st) const PRODUCT_RETURN;
duke@0 205
duke@0 206 // Print the comment associated with offset on stream, if there is one
duke@0 207 void print_block_comment(outputStream* stream, intptr_t offset) {
duke@0 208 _comments.print_block_comment(stream, offset);
duke@0 209 }
duke@0 210
duke@0 211 // Transfer ownership of comments to this CodeBlob
duke@0 212 void set_comments(CodeComments& comments) {
duke@0 213 _comments.assign(comments);
duke@0 214 }
duke@0 215 };
duke@0 216
duke@0 217
duke@0 218 //----------------------------------------------------------------------------------------------------
duke@0 219 // BufferBlob: used to hold non-relocatable machine code such as the interpreter, stubroutines, etc.
duke@0 220
duke@0 221 class BufferBlob: public CodeBlob {
duke@0 222 friend class VMStructs;
duke@0 223 private:
duke@0 224 // Creation support
duke@0 225 BufferBlob(const char* name, int size);
duke@0 226 BufferBlob(const char* name, int size, CodeBuffer* cb);
duke@0 227
duke@0 228 void* operator new(size_t s, unsigned size);
duke@0 229
duke@0 230 public:
duke@0 231 // Creation
duke@0 232 static BufferBlob* create(const char* name, int buffer_size);
duke@0 233 static BufferBlob* create(const char* name, CodeBuffer* cb);
duke@0 234
duke@0 235 static void free(BufferBlob* buf);
duke@0 236
duke@0 237 // Typing
duke@0 238 bool is_buffer_blob() const { return true; }
duke@0 239 bool is_adapter_blob() const;
duke@0 240
duke@0 241 // GC/Verification support
duke@0 242 void preserve_callee_argument_oops(frame fr, const RegisterMap* reg_map, OopClosure* f) { /* nothing to do */ }
duke@0 243 bool is_alive() const { return true; }
duke@0 244 void do_unloading(BoolObjectClosure* is_alive,
duke@0 245 OopClosure* keep_alive,
duke@0 246 bool unloading_occurred) { /* do nothing */ }
duke@0 247
duke@0 248 void oops_do(OopClosure* f) { /* do nothing*/ }
duke@0 249
duke@0 250 void verify();
duke@0 251 void print() const PRODUCT_RETURN;
duke@0 252 void print_value_on(outputStream* st) const PRODUCT_RETURN;
duke@0 253 };
duke@0 254
duke@0 255
duke@0 256 //----------------------------------------------------------------------------------------------------
duke@0 257 // RuntimeStub: describes stubs used by compiled code to call a (static) C++ runtime routine
duke@0 258
duke@0 259 class RuntimeStub: public CodeBlob {
duke@0 260 friend class VMStructs;
duke@0 261 private:
duke@0 262 bool _caller_must_gc_arguments;
duke@0 263
duke@0 264 // Creation support
duke@0 265 RuntimeStub(
duke@0 266 const char* name,
duke@0 267 CodeBuffer* cb,
duke@0 268 int size,
duke@0 269 int frame_complete,
duke@0 270 int frame_size,
duke@0 271 OopMapSet* oop_maps,
duke@0 272 bool caller_must_gc_arguments
duke@0 273 );
duke@0 274
duke@0 275 void* operator new(size_t s, unsigned size);
duke@0 276
duke@0 277 public:
duke@0 278 // Creation
duke@0 279 static RuntimeStub* new_runtime_stub(
duke@0 280 const char* stub_name,
duke@0 281 CodeBuffer* cb,
duke@0 282 int frame_complete,
duke@0 283 int frame_size,
duke@0 284 OopMapSet* oop_maps,
duke@0 285 bool caller_must_gc_arguments
duke@0 286 );
duke@0 287
duke@0 288 // Typing
duke@0 289 bool is_runtime_stub() const { return true; }
duke@0 290
duke@0 291 // GC support
duke@0 292 bool caller_must_gc_arguments(JavaThread* thread) const { return _caller_must_gc_arguments; }
duke@0 293
duke@0 294 address entry_point() { return instructions_begin(); }
duke@0 295
duke@0 296 // GC/Verification support
duke@0 297 void preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, OopClosure* f) { /* nothing to do */ }
duke@0 298 bool is_alive() const { return true; }
duke@0 299 void do_unloading(BoolObjectClosure* is_alive,
duke@0 300 OopClosure* keep_alive,
duke@0 301 bool unloading_occurred) { /* do nothing */ }
duke@0 302 void oops_do(OopClosure* f) { /* do-nothing*/ }
duke@0 303
duke@0 304 void verify();
duke@0 305 void print() const PRODUCT_RETURN;
duke@0 306 void print_value_on(outputStream* st) const PRODUCT_RETURN;
duke@0 307 };
duke@0 308
duke@0 309
duke@0 310 //----------------------------------------------------------------------------------------------------
duke@0 311 // Super-class for all blobs that exist in only one instance. Implements default behaviour.
duke@0 312
duke@0 313 class SingletonBlob: public CodeBlob {
duke@0 314 friend class VMStructs;
duke@0 315 public:
duke@0 316 SingletonBlob(
duke@0 317 const char* name,
duke@0 318 CodeBuffer* cb,
duke@0 319 int header_size,
duke@0 320 int size,
duke@0 321 int frame_size,
duke@0 322 OopMapSet* oop_maps
duke@0 323 )
duke@0 324 : CodeBlob(name, cb, header_size, size, CodeOffsets::frame_never_safe, frame_size, oop_maps)
duke@0 325 {};
duke@0 326
duke@0 327 bool is_alive() const { return true; }
duke@0 328 void do_unloading(BoolObjectClosure* is_alive,
duke@0 329 OopClosure* keep_alive,
duke@0 330 bool unloading_occurred) { /* do-nothing*/ }
duke@0 331
duke@0 332 void verify(); // does nothing
duke@0 333 void print() const PRODUCT_RETURN;
duke@0 334 void print_value_on(outputStream* st) const PRODUCT_RETURN;
duke@0 335 };
duke@0 336
duke@0 337
duke@0 338 //----------------------------------------------------------------------------------------------------
duke@0 339 // DeoptimizationBlob
duke@0 340
duke@0 341 class DeoptimizationBlob: public SingletonBlob {
duke@0 342 friend class VMStructs;
duke@0 343 private:
duke@0 344 int _unpack_offset;
duke@0 345 int _unpack_with_exception;
duke@0 346 int _unpack_with_reexecution;
duke@0 347
duke@0 348 int _unpack_with_exception_in_tls;
duke@0 349
duke@0 350 // Creation support
duke@0 351 DeoptimizationBlob(
duke@0 352 CodeBuffer* cb,
duke@0 353 int size,
duke@0 354 OopMapSet* oop_maps,
duke@0 355 int unpack_offset,
duke@0 356 int unpack_with_exception_offset,
duke@0 357 int unpack_with_reexecution_offset,
duke@0 358 int frame_size
duke@0 359 );
duke@0 360
duke@0 361 void* operator new(size_t s, unsigned size);
duke@0 362
duke@0 363 public:
duke@0 364 // Creation
duke@0 365 static DeoptimizationBlob* create(
duke@0 366 CodeBuffer* cb,
duke@0 367 OopMapSet* oop_maps,
duke@0 368 int unpack_offset,
duke@0 369 int unpack_with_exception_offset,
duke@0 370 int unpack_with_reexecution_offset,
duke@0 371 int frame_size
duke@0 372 );
duke@0 373
duke@0 374 // Typing
duke@0 375 bool is_deoptimization_stub() const { return true; }
duke@0 376 const DeoptimizationBlob *as_deoptimization_stub() const { return this; }
duke@0 377 bool exception_address_is_unpack_entry(address pc) const {
duke@0 378 address unpack_pc = unpack();
duke@0 379 return (pc == unpack_pc || (pc + frame::pc_return_offset) == unpack_pc);
duke@0 380 }
duke@0 381
duke@0 382
duke@0 383
duke@0 384
duke@0 385 // GC for args
duke@0 386 void preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, OopClosure* f) { /* Nothing to do */ }
duke@0 387
duke@0 388 // Iteration
duke@0 389 void oops_do(OopClosure* f) {}
duke@0 390
duke@0 391 // Printing
duke@0 392 void print_value_on(outputStream* st) const PRODUCT_RETURN;
duke@0 393
duke@0 394 address unpack() const { return instructions_begin() + _unpack_offset; }
duke@0 395 address unpack_with_exception() const { return instructions_begin() + _unpack_with_exception; }
duke@0 396 address unpack_with_reexecution() const { return instructions_begin() + _unpack_with_reexecution; }
duke@0 397
duke@0 398 // Alternate entry point for C1 where the exception and issuing pc
duke@0 399 // are in JavaThread::_exception_oop and JavaThread::_exception_pc
duke@0 400 // instead of being in registers. This is needed because C1 doesn't
duke@0 401 // model exception paths in a way that keeps these registers free so
duke@0 402 // there may be live values in those registers during deopt.
duke@0 403 void set_unpack_with_exception_in_tls_offset(int offset) {
duke@0 404 _unpack_with_exception_in_tls = offset;
duke@0 405 assert(contains(instructions_begin() + _unpack_with_exception_in_tls), "must be PC inside codeblob");
duke@0 406 }
duke@0 407 address unpack_with_exception_in_tls() const { return instructions_begin() + _unpack_with_exception_in_tls; }
duke@0 408 };
duke@0 409
duke@0 410
duke@0 411 //----------------------------------------------------------------------------------------------------
duke@0 412 // UncommonTrapBlob (currently only used by Compiler 2)
duke@0 413
duke@0 414 #ifdef COMPILER2
duke@0 415
duke@0 416 class UncommonTrapBlob: public SingletonBlob {
duke@0 417 friend class VMStructs;
duke@0 418 private:
duke@0 419 // Creation support
duke@0 420 UncommonTrapBlob(
duke@0 421 CodeBuffer* cb,
duke@0 422 int size,
duke@0 423 OopMapSet* oop_maps,
duke@0 424 int frame_size
duke@0 425 );
duke@0 426
duke@0 427 void* operator new(size_t s, unsigned size);
duke@0 428
duke@0 429 public:
duke@0 430 // Creation
duke@0 431 static UncommonTrapBlob* create(
duke@0 432 CodeBuffer* cb,
duke@0 433 OopMapSet* oop_maps,
duke@0 434 int frame_size
duke@0 435 );
duke@0 436
duke@0 437 // GC for args
duke@0 438 void preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, OopClosure* f) { /* nothing to do */ }
duke@0 439
duke@0 440 // Typing
duke@0 441 bool is_uncommon_trap_stub() const { return true; }
duke@0 442
duke@0 443 // Iteration
duke@0 444 void oops_do(OopClosure* f) {}
duke@0 445 };
duke@0 446
duke@0 447
duke@0 448 //----------------------------------------------------------------------------------------------------
duke@0 449 // ExceptionBlob: used for exception unwinding in compiled code (currently only used by Compiler 2)
duke@0 450
duke@0 451 class ExceptionBlob: public SingletonBlob {
duke@0 452 friend class VMStructs;
duke@0 453 private:
duke@0 454 // Creation support
duke@0 455 ExceptionBlob(
duke@0 456 CodeBuffer* cb,
duke@0 457 int size,
duke@0 458 OopMapSet* oop_maps,
duke@0 459 int frame_size
duke@0 460 );
duke@0 461
duke@0 462 void* operator new(size_t s, unsigned size);
duke@0 463
duke@0 464 public:
duke@0 465 // Creation
duke@0 466 static ExceptionBlob* create(
duke@0 467 CodeBuffer* cb,
duke@0 468 OopMapSet* oop_maps,
duke@0 469 int frame_size
duke@0 470 );
duke@0 471
duke@0 472 // GC for args
duke@0 473 void preserve_callee_argument_oops(frame fr, const RegisterMap* reg_map, OopClosure* f) { /* nothing to do */ }
duke@0 474
duke@0 475 // Typing
duke@0 476 bool is_exception_stub() const { return true; }
duke@0 477
duke@0 478 // Iteration
duke@0 479 void oops_do(OopClosure* f) {}
duke@0 480 };
duke@0 481 #endif // COMPILER2
duke@0 482
duke@0 483
duke@0 484 //----------------------------------------------------------------------------------------------------
duke@0 485 // SafepointBlob: handles illegal_instruction exceptions during a safepoint
duke@0 486
duke@0 487 class SafepointBlob: public SingletonBlob {
duke@0 488 friend class VMStructs;
duke@0 489 private:
duke@0 490 // Creation support
duke@0 491 SafepointBlob(
duke@0 492 CodeBuffer* cb,
duke@0 493 int size,
duke@0 494 OopMapSet* oop_maps,
duke@0 495 int frame_size
duke@0 496 );
duke@0 497
duke@0 498 void* operator new(size_t s, unsigned size);
duke@0 499
duke@0 500 public:
duke@0 501 // Creation
duke@0 502 static SafepointBlob* create(
duke@0 503 CodeBuffer* cb,
duke@0 504 OopMapSet* oop_maps,
duke@0 505 int frame_size
duke@0 506 );
duke@0 507
duke@0 508 // GC for args
duke@0 509 void preserve_callee_argument_oops(frame fr, const RegisterMap* reg_map, OopClosure* f) { /* nothing to do */ }
duke@0 510
duke@0 511 // Typing
duke@0 512 bool is_safepoint_stub() const { return true; }
duke@0 513
duke@0 514 // Iteration
duke@0 515 void oops_do(OopClosure* f) {}
duke@0 516 };