equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2017, 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. |
272 } |
272 } |
273 |
273 |
274 // Fill StackFrameInfo with declaringClass and bci and initialize memberName |
274 // Fill StackFrameInfo with declaringClass and bci and initialize memberName |
275 void BaseFrameStream::fill_stackframe(Handle stackFrame, const methodHandle& method) { |
275 void BaseFrameStream::fill_stackframe(Handle stackFrame, const methodHandle& method) { |
276 java_lang_StackFrameInfo::set_declaringClass(stackFrame(), method->method_holder()->java_mirror()); |
276 java_lang_StackFrameInfo::set_declaringClass(stackFrame(), method->method_holder()->java_mirror()); |
277 java_lang_StackFrameInfo::set_method_and_bci(stackFrame(), method, bci()); |
277 java_lang_StackFrameInfo::set_method_and_bci(stackFrame, method, bci()); |
278 } |
278 } |
279 |
279 |
280 // Fill LiveStackFrameInfo with locals, monitors, and expressions |
280 // Fill LiveStackFrameInfo with locals, monitors, and expressions |
281 void LiveFrameStream::fill_live_stackframe(Handle stackFrame, |
281 void LiveFrameStream::fill_live_stackframe(Handle stackFrame, |
282 const methodHandle& method, TRAPS) { |
282 const methodHandle& method, TRAPS) { |