comparison src/cpu/sparc/vm/assembler_sparc.hpp @ 2100:b1a2afa37ec4

7003271: Hotspot should track cumulative Java heap bytes allocated on a per-thread basis Summary: Track allocated bytes in Thread's, update on TLAB retirement and direct allocation in Eden and tenured, add JNI methods for ThreadMXBean. Reviewed-by: coleenp, kvn, dholmes, ysr
author phh
date Fri, 07 Jan 2011 10:42:32 -0500
parents 2f644f85485d
children 84f36150fcc3
comparison
equal deleted inserted replaced
2097:039eb4201e06 2100:b1a2afa37ec4
1 /* 1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2011, 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.
2386 int con_size_in_bytes, // object size in bytes if known at compile time 2386 int con_size_in_bytes, // object size in bytes if known at compile time
2387 Register t1, // temp register 2387 Register t1, // temp register
2388 Label& slow_case // continuation point if fast allocation fails 2388 Label& slow_case // continuation point if fast allocation fails
2389 ); 2389 );
2390 void tlab_refill(Label& retry_tlab, Label& try_eden, Label& slow_case); 2390 void tlab_refill(Label& retry_tlab, Label& try_eden, Label& slow_case);
2391 void incr_allocated_bytes(Register var_size_in_bytes, int con_size_in_bytes, Register t1);
2391 2392
2392 // interface method calling 2393 // interface method calling
2393 void lookup_interface_method(Register recv_klass, 2394 void lookup_interface_method(Register recv_klass,
2394 Register intf_klass, 2395 Register intf_klass,
2395 RegisterOrConstant itable_index, 2396 RegisterOrConstant itable_index,