A C I P R S T V

A

addSampler(Sampler) - Static method in class com.google.monitoring.runtime.instrumentation.AllocationRecorder
Adds a Sampler that will get run every time an allocation is performed from Java code.
AllocationInstrumenter - Class in com.google.monitoring.runtime.instrumentation
Instruments bytecodes that allocate heap memory to call a recording hook.
AllocationRecorder - Class in com.google.monitoring.runtime.instrumentation
The logic for recording allocations, called from bytecode rewritten by AllocationInstrumenter.
AllocationRecorder() - Constructor for class com.google.monitoring.runtime.instrumentation.AllocationRecorder
 

C

com.google.monitoring.runtime.instrumentation - package com.google.monitoring.runtime.instrumentation
 

I

instrument(byte[], String, String) - Static method in class com.google.monitoring.runtime.instrumentation.AllocationInstrumenter
Given the bytes representing a class, go through all the bytecode in it and instrument any occurences of new/newarray/anewarray/multianewarray with pre- and post-allocation hooks.
instrument(byte[]) - Static method in class com.google.monitoring.runtime.instrumentation.AllocationInstrumenter
 
isVerified() - Method in class com.google.monitoring.runtime.instrumentation.VerifyingClassAdapter
Gets the verification state of this class.

P

premain(String, Instrumentation) - Static method in class com.google.monitoring.runtime.instrumentation.AllocationInstrumenter
 

R

recordAllocation(Class<?>, Object) - Static method in class com.google.monitoring.runtime.instrumentation.AllocationRecorder
 
recordAllocation(int, String, Object) - Static method in class com.google.monitoring.runtime.instrumentation.AllocationRecorder
Records the allocation.
recordAllocationForceForTest(int, String, Object) - Static method in class com.google.monitoring.runtime.instrumentation.AllocationRecorder
Helper method to force recording; for unit tests only.
recordAllocationForceForTestReal(int, String, Object, int) - Static method in class com.google.monitoring.runtime.instrumentation.AllocationRecorder
 

S

sampleAllocation(int, String, Object, long) - Method in interface com.google.monitoring.runtime.instrumentation.Sampler
Determines whether the object currently being allocated, with the given size, should be traced.
Sampler - Interface in com.google.monitoring.runtime.instrumentation
This interface describes a function that is used to sample an allocation.

T

toByteArray() - Method in class com.google.monitoring.runtime.instrumentation.VerifyingClassAdapter
Returns the byte array that contains the byte code for this class.
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class com.google.monitoring.runtime.instrumentation.AllocationInstrumenter
 

V

valueOf(String) - Static method in enum com.google.monitoring.runtime.instrumentation.VerifyingClassAdapter.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.monitoring.runtime.instrumentation.VerifyingClassAdapter.State
Returns an array containing the constants of this enum type, in the order they are declared.
VerifyingClassAdapter - Class in com.google.monitoring.runtime.instrumentation
This is a class writer that gets used in place of the existing ClassWriter, and verifies properties of the class getting written.
VerifyingClassAdapter(ClassWriter, byte[], String) - Constructor for class com.google.monitoring.runtime.instrumentation.VerifyingClassAdapter
 
VerifyingClassAdapter.State - Enum in com.google.monitoring.runtime.instrumentation
An enum which indicates whether the class in question is verified.
visitEnd() - Method in class com.google.monitoring.runtime.instrumentation.VerifyingClassAdapter
visitMethod(int, String, String, String, String[]) - Method in class com.google.monitoring.runtime.instrumentation.VerifyingClassAdapter
In addition, the returned MethodVisitor will throw an exception if the method is greater than 64K in length.

A C I P R S T V

Copyright © 2009-2011 Google, Inc.. All Rights Reserved.