Mercurial > hg > truffle
comparison src/share/vm/services/memoryPool.cpp @ 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 | f95d63e2154a |
children | 1d1603768966 |
comparison
equal
deleted
inserted
replaced
2176:27e4ea99855d | 2177:3582bf76420e |
---|---|
87 JavaValue result(T_OBJECT); | 87 JavaValue result(T_OBJECT); |
88 JavaCallArguments args; | 88 JavaCallArguments args; |
89 args.push_oop(pool_name); // Argument 1 | 89 args.push_oop(pool_name); // Argument 1 |
90 args.push_int((int) is_heap()); // Argument 2 | 90 args.push_int((int) is_heap()); // Argument 2 |
91 | 91 |
92 symbolHandle method_name = vmSymbolHandles::createMemoryPool_name(); | 92 Symbol* method_name = vmSymbols::createMemoryPool_name(); |
93 symbolHandle signature = vmSymbolHandles::createMemoryPool_signature(); | 93 Symbol* signature = vmSymbols::createMemoryPool_signature(); |
94 | 94 |
95 args.push_long(usage_threshold_value); // Argument 3 | 95 args.push_long(usage_threshold_value); // Argument 3 |
96 args.push_long(gc_usage_threshold_value); // Argument 4 | 96 args.push_long(gc_usage_threshold_value); // Argument 4 |
97 | 97 |
98 JavaCalls::call_static(&result, | 98 JavaCalls::call_static(&result, |