comparison src/share/vm/ci/ciMethod.hpp @ 10105:aeaca88565e6

8010862: The Method counter fields used for profiling can be allocated lazily. Summary: Allocate the method's profiling related metadata until they are needed. Reviewed-by: coleenp, roland
author jiangli
date Tue, 09 Apr 2013 17:17:41 -0400
parents 16885e702c88
children 247342108a11
comparison
equal deleted inserted replaced
9055:dcdeb150988c 10105:aeaca88565e6
1 /* 1 /*
2 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 2013, 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.
260 bool was_executed_more_than(int times); 260 bool was_executed_more_than(int times);
261 bool has_unloaded_classes_in_signature(); 261 bool has_unloaded_classes_in_signature();
262 bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const; 262 bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const;
263 bool check_call(int refinfo_index, bool is_static) const; 263 bool check_call(int refinfo_index, bool is_static) const;
264 bool ensure_method_data(); // make sure it exists in the VM also 264 bool ensure_method_data(); // make sure it exists in the VM also
265 address ensure_method_counters();
265 int instructions_size(); 266 int instructions_size();
266 int scale_count(int count, float prof_factor = 1.); // make MDO count commensurate with IIC 267 int scale_count(int count, float prof_factor = 1.); // make MDO count commensurate with IIC
267 268
268 // Stack walking support 269 // Stack walking support
269 bool is_ignored_by_security_stack_walk() const; 270 bool is_ignored_by_security_stack_walk() const;