equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 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. |
60 public: |
60 public: |
61 static int InterpreterInvocationLimit; // CompileThreshold scaled for interpreter use |
61 static int InterpreterInvocationLimit; // CompileThreshold scaled for interpreter use |
62 static int InterpreterBackwardBranchLimit; // A separate threshold for on stack replacement |
62 static int InterpreterBackwardBranchLimit; // A separate threshold for on stack replacement |
63 static int InterpreterProfileLimit; // Profiling threshold scaled for interpreter use |
63 static int InterpreterProfileLimit; // Profiling threshold scaled for interpreter use |
64 |
64 |
65 typedef address (*Action)(methodHandle method, TRAPS); |
65 typedef address (*Action)(const methodHandle& method, TRAPS); |
66 |
66 |
67 enum PublicConstants { |
67 enum PublicConstants { |
68 count_increment = count_grain, // use this value to increment the 32bit _counter word |
68 count_increment = count_grain, // use this value to increment the 32bit _counter word |
69 count_mask_value = count_mask, // use this value to mask the backedge counter |
69 count_mask_value = count_mask, // use this value to mask the backedge counter |
70 count_shift = number_of_noncount_bits, |
70 count_shift = number_of_noncount_bits, |