equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. |
3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
57 break; |
57 break; |
58 |
58 |
59 case ZeroFrame::SHARK_FRAME: { |
59 case ZeroFrame::SHARK_FRAME: { |
60 _pc = zero_sharkframe()->pc(); |
60 _pc = zero_sharkframe()->pc(); |
61 _cb = CodeCache::find_blob_unsafe(pc()); |
61 _cb = CodeCache::find_blob_unsafe(pc()); |
62 address original_pc = nmethod::get_deopt_original_pc(this); |
62 address original_pc = CompiledMethod::get_deopt_original_pc(this); |
63 if (original_pc != NULL) { |
63 if (original_pc != NULL) { |
64 _pc = original_pc; |
64 _pc = original_pc; |
65 _deopt_state = is_deoptimized; |
65 _deopt_state = is_deoptimized; |
66 } else { |
66 } else { |
67 _deopt_state = not_deoptimized; |
67 _deopt_state = not_deoptimized; |