comparison src/cpu/sparc/vm/interp_masm_sparc.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 f0c2369fda5a
children 63e44cdabb91 8cdf3f43f63e
comparison
equal deleted inserted replaced
9055:dcdeb150988c 10105:aeaca88565e6
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 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.
261 static int top_most_monitor_byte_offset(); // offset in bytes to top of monitor block 261 static int top_most_monitor_byte_offset(); // offset in bytes to top of monitor block
262 Address top_most_monitor(); 262 Address top_most_monitor();
263 void compute_stack_base( Register Rdest ); 263 void compute_stack_base( Register Rdest );
264 264
265 #endif /* CC_INTERP */ 265 #endif /* CC_INTERP */
266 void increment_invocation_counter( Register Rtmp, Register Rtmp2 ); 266 void get_method_counters(Register method, Register Rcounters, Label& skip);
267 void increment_backedge_counter( Register Rtmp, Register Rtmp2 ); 267 void increment_invocation_counter( Register Rcounters, Register Rtmp, Register Rtmp2 );
268 void increment_backedge_counter( Register Rcounters, Register Rtmp, Register Rtmp2 );
268 #ifndef CC_INTERP 269 #ifndef CC_INTERP
269 void test_backedge_count_for_osr( Register backedge_count, Register branch_bcp, Register Rtmp ); 270 void test_backedge_count_for_osr( Register backedge_count, Register branch_bcp, Register Rtmp );
270 271
271 #endif /* CC_INTERP */ 272 #endif /* CC_INTERP */
272 // Object locking 273 // Object locking