Mercurial > hg > truffle
comparison src/share/vm/oops/instanceKlass.hpp @ 10265:92ef81e2f571
8003557: NPG: Klass* const k should be const Klass* k.
Summary: With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
Contributed-by: yumin.qi@oracle.com
author | minqi |
---|---|
date | Fri, 10 May 2013 08:27:30 -0700 |
parents | c115fac239eb |
children | 6bd680e9ea35 |
comparison
equal
deleted
inserted
replaced
10262:c272092594bd | 10265:92ef81e2f571 |
---|---|
737 // On-stack replacement support | 737 // On-stack replacement support |
738 nmethod* osr_nmethods_head() const { return _osr_nmethods_head; }; | 738 nmethod* osr_nmethods_head() const { return _osr_nmethods_head; }; |
739 void set_osr_nmethods_head(nmethod* h) { _osr_nmethods_head = h; }; | 739 void set_osr_nmethods_head(nmethod* h) { _osr_nmethods_head = h; }; |
740 void add_osr_nmethod(nmethod* n); | 740 void add_osr_nmethod(nmethod* n); |
741 void remove_osr_nmethod(nmethod* n); | 741 void remove_osr_nmethod(nmethod* n); |
742 nmethod* lookup_osr_nmethod(Method* const m, int bci, int level, bool match_level) const; | 742 nmethod* lookup_osr_nmethod(const Method* m, int bci, int level, bool match_level) const; |
743 | 743 |
744 // Breakpoint support (see methods on Method* for details) | 744 // Breakpoint support (see methods on Method* for details) |
745 BreakpointInfo* breakpoints() const { return _breakpoints; }; | 745 BreakpointInfo* breakpoints() const { return _breakpoints; }; |
746 void set_breakpoints(BreakpointInfo* bps) { _breakpoints = bps; }; | 746 void set_breakpoints(BreakpointInfo* bps) { _breakpoints = bps; }; |
747 | 747 |