src/share/vm/code/codeBlob.hpp

changeset 4767
a5de0cc2f91c
parent 4107
b31471cdc53e
child 5614
9758d9f36299
     1.1 --- a/src/share/vm/code/codeBlob.hpp	Sat Mar 16 21:44:52 2013 -0700
     1.2 +++ b/src/share/vm/code/codeBlob.hpp	Mon Mar 18 13:19:06 2013 +0100
     1.3 @@ -66,7 +66,7 @@
     1.4    int        _data_offset;                       // offset to where data region begins
     1.5    int        _frame_size;                        // size of stack frame
     1.6    OopMapSet* _oop_maps;                          // OopMap for this CodeBlob
     1.7 -  CodeComments _comments;
     1.8 +  CodeStrings _strings;
     1.9  
    1.10   public:
    1.11    // Returns the space needed for CodeBlob
    1.12 @@ -186,12 +186,12 @@
    1.13    // Print the comment associated with offset on stream, if there is one
    1.14    virtual void print_block_comment(outputStream* stream, address block_begin) const {
    1.15      intptr_t offset = (intptr_t)(block_begin - code_begin());
    1.16 -    _comments.print_block_comment(stream, offset);
    1.17 +    _strings.print_block_comment(stream, offset);
    1.18    }
    1.19  
    1.20    // Transfer ownership of comments to this CodeBlob
    1.21 -  void set_comments(CodeComments& comments) {
    1.22 -    _comments.assign(comments);
    1.23 +  void set_strings(CodeStrings& strings) {
    1.24 +    _strings.assign(strings);
    1.25    }
    1.26  };
    1.27  

mercurial