Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/os.cpp @ 628:7bb995fbd3c0
Merge
author | trims |
---|---|
date | Thu, 12 Mar 2009 18:16:36 -0700 |
parents | 0fbdb4381b99 bcedf688d882 |
children | 956304450e80 |
comparison
equal
deleted
inserted
replaced
580:ce2272390558 | 628:7bb995fbd3c0 |
---|---|
205 VMThread::execute(&jni_op); | 205 VMThread::execute(&jni_op); |
206 VM_FindDeadlocks op1(tty); | 206 VM_FindDeadlocks op1(tty); |
207 VMThread::execute(&op1); | 207 VMThread::execute(&op1); |
208 Universe::print_heap_at_SIGBREAK(); | 208 Universe::print_heap_at_SIGBREAK(); |
209 if (PrintClassHistogram) { | 209 if (PrintClassHistogram) { |
210 VM_GC_HeapInspection op1(gclog_or_tty, true /* force full GC before heap inspection */); | 210 VM_GC_HeapInspection op1(gclog_or_tty, true /* force full GC before heap inspection */, |
211 true /* need_prologue */); | |
211 VMThread::execute(&op1); | 212 VMThread::execute(&op1); |
212 } | 213 } |
213 if (JvmtiExport::should_post_data_dump()) { | 214 if (JvmtiExport::should_post_data_dump()) { |
214 JvmtiExport::post_data_dump(); | 215 JvmtiExport::post_data_dump(); |
215 } | 216 } |
941 | 942 |
942 bool os::stack_shadow_pages_available(Thread *thread, methodHandle method) { | 943 bool os::stack_shadow_pages_available(Thread *thread, methodHandle method) { |
943 assert(StackRedPages > 0 && StackYellowPages > 0,"Sanity check"); | 944 assert(StackRedPages > 0 && StackYellowPages > 0,"Sanity check"); |
944 address sp = current_stack_pointer(); | 945 address sp = current_stack_pointer(); |
945 // Check if we have StackShadowPages above the yellow zone. This parameter | 946 // Check if we have StackShadowPages above the yellow zone. This parameter |
946 // is dependant on the depth of the maximum VM call stack possible from | 947 // is dependent on the depth of the maximum VM call stack possible from |
947 // the handler for stack overflow. 'instanceof' in the stack overflow | 948 // the handler for stack overflow. 'instanceof' in the stack overflow |
948 // handler or a println uses at least 8k stack of VM and native code | 949 // handler or a println uses at least 8k stack of VM and native code |
949 // respectively. | 950 // respectively. |
950 const int framesize_in_bytes = | 951 const int framesize_in_bytes = |
951 Interpreter::size_top_interpreter_activation(method()) * wordSize; | 952 Interpreter::size_top_interpreter_activation(method()) * wordSize; |