Mercurial > hg > truffle
comparison src/share/vm/oops/instanceKlass.hpp @ 1783:d5d065957597
6953144: Tiered compilation
Summary: Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.
Reviewed-by: kvn, never, phh, twisti
author | iveresov |
---|---|
date | Fri, 03 Sep 2010 17:51:07 -0700 |
parents | 9d7a8ab3736b |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1782:f353275af40e | 1783:d5d065957597 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
586 // On-stack replacement support | 586 // On-stack replacement support |
587 nmethod* osr_nmethods_head() const { return _osr_nmethods_head; }; | 587 nmethod* osr_nmethods_head() const { return _osr_nmethods_head; }; |
588 void set_osr_nmethods_head(nmethod* h) { _osr_nmethods_head = h; }; | 588 void set_osr_nmethods_head(nmethod* h) { _osr_nmethods_head = h; }; |
589 void add_osr_nmethod(nmethod* n); | 589 void add_osr_nmethod(nmethod* n); |
590 void remove_osr_nmethod(nmethod* n); | 590 void remove_osr_nmethod(nmethod* n); |
591 nmethod* lookup_osr_nmethod(const methodOop m, int bci) const; | 591 nmethod* lookup_osr_nmethod(const methodOop m, int bci, int level, bool match_level) const; |
592 | 592 |
593 // Breakpoint support (see methods on methodOop for details) | 593 // Breakpoint support (see methods on methodOop for details) |
594 BreakpointInfo* breakpoints() const { return _breakpoints; }; | 594 BreakpointInfo* breakpoints() const { return _breakpoints; }; |
595 void set_breakpoints(BreakpointInfo* bps) { _breakpoints = bps; }; | 595 void set_breakpoints(BreakpointInfo* bps) { _breakpoints = bps; }; |
596 | 596 |