equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 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. |
807 // Interpreter stub for calling a native method. (asm interpreter) |
807 // Interpreter stub for calling a native method. (asm interpreter) |
808 // This sets up a somewhat different looking stack for calling the |
808 // This sets up a somewhat different looking stack for calling the |
809 // native method than the typical interpreter frame setup. |
809 // native method than the typical interpreter frame setup. |
810 address InterpreterGenerator::generate_native_entry(bool synchronized) { |
810 address InterpreterGenerator::generate_native_entry(bool synchronized) { |
811 // determine code generation flags |
811 // determine code generation flags |
812 bool inc_counter = UseCompiler || CountCompiledCalls; |
812 bool inc_counter = UseCompiler || CountCompiledCalls || LogTouchedMethods; |
813 |
813 |
814 // rbx: Method* |
814 // rbx: Method* |
815 // r13: sender sp |
815 // r13: sender sp |
816 |
816 |
817 address entry_point = __ pc(); |
817 address entry_point = __ pc(); |
1254 // |
1254 // |
1255 // Generic interpreted method entry to (asm) interpreter |
1255 // Generic interpreted method entry to (asm) interpreter |
1256 // |
1256 // |
1257 address InterpreterGenerator::generate_normal_entry(bool synchronized) { |
1257 address InterpreterGenerator::generate_normal_entry(bool synchronized) { |
1258 // determine code generation flags |
1258 // determine code generation flags |
1259 bool inc_counter = UseCompiler || CountCompiledCalls; |
1259 bool inc_counter = UseCompiler || CountCompiledCalls || LogTouchedMethods; |
1260 |
1260 |
1261 // ebx: Method* |
1261 // ebx: Method* |
1262 // r13: sender sp |
1262 // r13: sender sp |
1263 address entry_point = __ pc(); |
1263 address entry_point = __ pc(); |
1264 |
1264 |