equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, 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. |
847 // than the typical interpreter frame setup. |
847 // than the typical interpreter frame setup. |
848 // |
848 // |
849 |
849 |
850 address InterpreterGenerator::generate_native_entry(bool synchronized) { |
850 address InterpreterGenerator::generate_native_entry(bool synchronized) { |
851 // determine code generation flags |
851 // determine code generation flags |
852 bool inc_counter = UseCompiler || CountCompiledCalls; |
852 bool inc_counter = UseCompiler || CountCompiledCalls || LogTouchedMethods; |
853 |
853 |
854 // rbx,: Method* |
854 // rbx,: Method* |
855 // rsi: sender sp |
855 // rsi: sender sp |
856 // rsi: previous interpreter state (C++ interpreter) must preserve |
856 // rsi: previous interpreter state (C++ interpreter) must preserve |
857 address entry_point = __ pc(); |
857 address entry_point = __ pc(); |
1263 // |
1263 // |
1264 // Generic interpreted method entry to (asm) interpreter |
1264 // Generic interpreted method entry to (asm) interpreter |
1265 // |
1265 // |
1266 address InterpreterGenerator::generate_normal_entry(bool synchronized) { |
1266 address InterpreterGenerator::generate_normal_entry(bool synchronized) { |
1267 // determine code generation flags |
1267 // determine code generation flags |
1268 bool inc_counter = UseCompiler || CountCompiledCalls; |
1268 bool inc_counter = UseCompiler || CountCompiledCalls || LogTouchedMethods; |
1269 |
1269 |
1270 // rbx,: Method* |
1270 // rbx,: Method* |
1271 // rsi: sender sp |
1271 // rsi: sender sp |
1272 address entry_point = __ pc(); |
1272 address entry_point = __ pc(); |
1273 |
1273 |