hotspot/src/share/vm/runtime/stubCodeGenerator.cpp
changeset 6176 4d9030fe341f
parent 5924 dc9d04930c82
child 7397 5b173b4ca846
equal deleted inserted replaced
6175:86dbf3cacacc 6176:4d9030fe341f
    51   StubCodeDesc* p = desc_for(pc);
    51   StubCodeDesc* p = desc_for(pc);
    52   return p == NULL ? NULL : p->name();
    52   return p == NULL ? NULL : p->name();
    53 }
    53 }
    54 
    54 
    55 
    55 
    56 void StubCodeDesc::print() {
    56 void StubCodeDesc::print_on(outputStream* st) const {
    57   tty->print(group());
    57   st->print(group());
    58   tty->print("::");
    58   st->print("::");
    59   tty->print(name());
    59   st->print(name());
    60   tty->print(" [" INTPTR_FORMAT ", " INTPTR_FORMAT "[ (%d bytes)", begin(), end(), size_in_bytes());
    60   st->print(" [" INTPTR_FORMAT ", " INTPTR_FORMAT "[ (%d bytes)", begin(), end(), size_in_bytes());
    61 }
    61 }
    62 
       
    63 
       
    64 
    62 
    65 // Implementation of StubCodeGenerator
    63 // Implementation of StubCodeGenerator
    66 
    64 
    67 StubCodeGenerator::StubCodeGenerator(CodeBuffer* code) {
    65 StubCodeGenerator::StubCodeGenerator(CodeBuffer* code) {
    68   _masm = new MacroAssembler(code);
    66   _masm = new MacroAssembler(code);