comparison src/share/vm/prims/jvmtiExport.hpp @ 2177:3582bf76420e

6990754: Use native memory and reference counting to implement SymbolTable Summary: move symbols from permgen into C heap and reference count them Reviewed-by: never, acorn, jmasa, stefank
author coleenp
date Thu, 27 Jan 2011 16:11:27 -0800
parents 9afee0b9fc1d
children bf8517f4e4d0
comparison
equal deleted inserted replaced
2176:27e4ea99855d 2177:3582bf76420e
304 304
305 // Support for java.lang.instrument agent loading. 305 // Support for java.lang.instrument agent loading.
306 static bool _should_post_class_file_load_hook; 306 static bool _should_post_class_file_load_hook;
307 inline static void set_should_post_class_file_load_hook(bool on) { _should_post_class_file_load_hook = on; } 307 inline static void set_should_post_class_file_load_hook(bool on) { _should_post_class_file_load_hook = on; }
308 inline static bool should_post_class_file_load_hook() { return _should_post_class_file_load_hook; } 308 inline static bool should_post_class_file_load_hook() { return _should_post_class_file_load_hook; }
309 static void post_class_file_load_hook(symbolHandle h_name, Handle class_loader, 309 static void post_class_file_load_hook(Symbol* h_name, Handle class_loader,
310 Handle h_protection_domain, 310 Handle h_protection_domain,
311 unsigned char **data_ptr, unsigned char **end_ptr, 311 unsigned char **data_ptr, unsigned char **end_ptr,
312 unsigned char **cached_data_ptr, 312 unsigned char **cached_data_ptr,
313 jint *cached_length_ptr); 313 jint *cached_length_ptr);
314 static void post_native_method_bind(methodOop method, address* function_ptr) KERNEL_RETURN; 314 static void post_native_method_bind(methodOop method, address* function_ptr) KERNEL_RETURN;