src/share/vm/code/codeBlob.hpp

Tue, 24 Jul 2012 10:51:00 -0700

author
twisti
date
Tue, 24 Jul 2012 10:51:00 -0700
changeset 3969
1d7922586cf6
parent 2895
167b70ff3abc
child 4037
da91efe96a93
permissions
-rw-r--r--

7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI
Summary: remove assembly code for JDK 7 chained method handles
Reviewed-by: jrose, twisti, kvn, mhaupt
Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>

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

mercurial