src/share/vm/code/stubs.hpp

changeset 4767
a5de0cc2f91c
parent 4153
b9a9ed0f8eeb
child 6198
55fb97c4c58d
child 6461
bdd155477289
     1.1 --- a/src/share/vm/code/stubs.hpp	Sat Mar 16 21:44:52 2013 -0700
     1.2 +++ b/src/share/vm/code/stubs.hpp	Mon Mar 18 13:19:06 2013 +0100
     1.3 @@ -73,7 +73,7 @@
     1.4   public:
     1.5    // Initialization/finalization
     1.6    void    initialize(int size,
     1.7 -                     CodeComments& comments)     { ShouldNotCallThis(); }                // called to initialize/specify the stub's size
     1.8 +                     CodeStrings& strings)       { ShouldNotCallThis(); }                // called to initialize/specify the stub's size
     1.9    void    finalize()                             { ShouldNotCallThis(); }                // called before the stub is deallocated
    1.10  
    1.11    // General info/converters
    1.12 @@ -107,7 +107,7 @@
    1.13   public:
    1.14    // Initialization/finalization
    1.15    virtual void    initialize(Stub* self, int size,
    1.16 -                             CodeComments& comments)       = 0; // called after creation (called twice if allocated via (request, commit))
    1.17 +                             CodeStrings& strings)         = 0; // called after creation (called twice if allocated via (request, commit))
    1.18    virtual void    finalize(Stub* self)                     = 0; // called before deallocation
    1.19  
    1.20    // General info/converters
    1.21 @@ -136,7 +136,7 @@
    1.22     public:                                                 \
    1.23      /* Initialization/finalization */                      \
    1.24      virtual void    initialize(Stub* self, int size,       \
    1.25 -                               CodeComments& comments)     { cast(self)->initialize(size, comments); } \
    1.26 +                               CodeStrings& strings)       { cast(self)->initialize(size, strings); } \
    1.27      virtual void    finalize(Stub* self)                   { cast(self)->finalize(); }             \
    1.28                                                             \
    1.29      /* General info */                                     \
    1.30 @@ -176,7 +176,7 @@
    1.31  
    1.32    // Stub functionality accessed via interface
    1.33    void  stub_initialize(Stub* s, int size,
    1.34 -                        CodeComments& comments)  { assert(size % CodeEntryAlignment == 0, "size not aligned"); _stub_interface->initialize(s, size, comments); }
    1.35 +                        CodeStrings& strings)    { assert(size % CodeEntryAlignment == 0, "size not aligned"); _stub_interface->initialize(s, size, strings); }
    1.36    void  stub_finalize(Stub* s)                   { _stub_interface->finalize(s); }
    1.37    int   stub_size(Stub* s) const                 { return _stub_interface->size(s); }
    1.38    bool  stub_contains(Stub* s, address pc) const { return _stub_interface->code_begin(s) <= pc && pc < _stub_interface->code_end(s); }
    1.39 @@ -206,7 +206,7 @@
    1.40    Stub* request_committed(int code_size);        // request a stub that provides exactly code_size space for code
    1.41    Stub* request(int requested_code_size);        // request a stub with a (maximum) code space - locks the queue
    1.42    void  commit (int committed_code_size,
    1.43 -                CodeComments& comments);         // commit the previously requested stub - unlocks the queue
    1.44 +                CodeStrings& strings);           // commit the previously requested stub - unlocks the queue
    1.45  
    1.46    // Stub deallocation
    1.47    void  remove_first();                          // remove the first stub in the queue

mercurial