src/share/vm/services/threadService.hpp

changeset 4037
da91efe96a93
parent 3900
d2a62e0f25eb
child 6122
0b9ea9a72436
     1.1 --- a/src/share/vm/services/threadService.hpp	Fri Aug 31 16:39:35 2012 -0700
     1.2 +++ b/src/share/vm/services/threadService.hpp	Sat Sep 01 13:25:18 2012 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -68,7 +68,7 @@
    1.11    static bool          _thread_allocated_memory_enabled;
    1.12  
    1.13    // Need to keep the list of thread dump result that
    1.14 -  // keep references to methodOop since thread dump can be
    1.15 +  // keep references to Method* since thread dump can be
    1.16    // requested by multiple threads concurrently.
    1.17    static ThreadDumpResult* _threaddump_list;
    1.18  
    1.19 @@ -272,12 +272,12 @@
    1.20    void            add_jni_locked_monitor(oop object) { _jni_locked_monitors->append(object); }
    1.21  };
    1.22  
    1.23 -// StackFrameInfo for keeping methodOop and bci during
    1.24 +// StackFrameInfo for keeping Method* and bci during
    1.25  // stack walking for later construction of StackTraceElement[]
    1.26  // Java instances
    1.27  class StackFrameInfo : public CHeapObj<mtInternal> {
    1.28   private:
    1.29 -  methodOop           _method;
    1.30 +  Method*             _method;
    1.31    int                 _bci;
    1.32    GrowableArray<oop>* _locked_monitors; // list of object monitors locked by this frame
    1.33  
    1.34 @@ -289,7 +289,7 @@
    1.35        delete _locked_monitors;
    1.36      }
    1.37    };
    1.38 -  methodOop method() const       { return _method; }
    1.39 +  Method* method() const       { return _method; }
    1.40    int       bci()    const       { return _bci; }
    1.41    void      oops_do(OopClosure* f);
    1.42  

mercurial