src/share/vm/code/nmethod.hpp

changeset 4117
f2e12eb74117
parent 4098
8966c2d65d96
parent 4107
b31471cdc53e
child 5548
5888334c9c24
     1.1 --- a/src/share/vm/code/nmethod.hpp	Fri Sep 28 14:14:25 2012 +0200
     1.2 +++ b/src/share/vm/code/nmethod.hpp	Fri Sep 28 10:16:29 2012 -0700
     1.3 @@ -177,6 +177,7 @@
     1.4    unsigned int _has_unsafe_access:1;         // May fault due to unsafe access.
     1.5    unsigned int _has_method_handle_invokes:1; // Has this method MethodHandle invokes?
     1.6    unsigned int _lazy_critical_native:1;      // Lazy JNI critical native
     1.7 +  unsigned int _has_wide_vectors:1;          // Preserve wide vectors at safepoints
     1.8  
     1.9    // Protected by Patching_lock
    1.10    unsigned char _state;                      // {alive, not_entrant, zombie, unloaded}
    1.11 @@ -442,6 +443,9 @@
    1.12    bool  is_lazy_critical_native() const           { return _lazy_critical_native; }
    1.13    void  set_lazy_critical_native(bool z)          { _lazy_critical_native = z; }
    1.14  
    1.15 +  bool  has_wide_vectors() const                  { return _has_wide_vectors; }
    1.16 +  void  set_has_wide_vectors(bool z)              { _has_wide_vectors = z; }
    1.17 +
    1.18    int   comp_level() const                        { return _comp_level; }
    1.19  
    1.20    // Support for oops in scopes and relocs:
    1.21 @@ -647,11 +651,11 @@
    1.22    void log_state_change() const;
    1.23  
    1.24    // Prints block-level comments, including nmethod specific block labels:
    1.25 -  virtual void print_block_comment(outputStream* stream, address block_begin) {
    1.26 +  virtual void print_block_comment(outputStream* stream, address block_begin) const {
    1.27      print_nmethod_labels(stream, block_begin);
    1.28      CodeBlob::print_block_comment(stream, block_begin);
    1.29    }
    1.30 -  void print_nmethod_labels(outputStream* stream, address block_begin);
    1.31 +  void print_nmethod_labels(outputStream* stream, address block_begin) const;
    1.32  
    1.33    // Prints a comment for one native instruction (reloc info, pc desc)
    1.34    void print_code_comment_on(outputStream* st, int column, address begin, address end);

mercurial