Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/vframeArray.hpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | 63a4eb8bcd23 |
children | 89152779163c |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2012, 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. |
51 | 51 |
52 private: | 52 private: |
53 | 53 |
54 frame _frame; // the interpreter frame we will unpack into | 54 frame _frame; // the interpreter frame we will unpack into |
55 int _bci; // raw bci for this vframe | 55 int _bci; // raw bci for this vframe |
56 bool _reexecute; // whether we should reexecute this bytecode | 56 bool _reexecute; // whether sould we reexecute this bytecode |
57 Method* _method; // the method for this vframe | 57 Method* _method; // the method for this vframe |
58 MonitorChunk* _monitors; // active monitors for this vframe | 58 MonitorChunk* _monitors; // active monitors for this vframe |
59 StackValueCollection* _locals; | 59 StackValueCollection* _locals; |
60 StackValueCollection* _expressions; | 60 StackValueCollection* _expressions; |
61 | 61 |
156 | 156 |
157 | 157 |
158 // Tells whether index is within bounds. | 158 // Tells whether index is within bounds. |
159 bool is_within_bounds(int index) const { return 0 <= index && index < frames(); } | 159 bool is_within_bounds(int index) const { return 0 <= index && index < frames(); } |
160 | 160 |
161 // Accessories for instance variable | 161 // Accessores for instance variable |
162 int frames() const { return _frames; } | 162 int frames() const { return _frames; } |
163 | 163 |
164 static vframeArray* allocate(JavaThread* thread, int frame_size, GrowableArray<compiledVFrame*>* chunk, | 164 static vframeArray* allocate(JavaThread* thread, int frame_size, GrowableArray<compiledVFrame*>* chunk, |
165 RegisterMap* reg_map, frame sender, frame caller, frame self); | 165 RegisterMap* reg_map, frame sender, frame caller, frame self); |
166 | 166 |