Mercurial > hg > truffle
comparison src/share/vm/runtime/os.cpp @ 605:98cb887364d3
6810672: Comment typos
Summary: I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Fri, 27 Feb 2009 13:27:09 -0800 |
parents | 773234c55e8c |
children | bcedf688d882 |
comparison
equal
deleted
inserted
replaced
604:ec59443af135 | 605:98cb887364d3 |
---|---|
941 | 941 |
942 bool os::stack_shadow_pages_available(Thread *thread, methodHandle method) { | 942 bool os::stack_shadow_pages_available(Thread *thread, methodHandle method) { |
943 assert(StackRedPages > 0 && StackYellowPages > 0,"Sanity check"); | 943 assert(StackRedPages > 0 && StackYellowPages > 0,"Sanity check"); |
944 address sp = current_stack_pointer(); | 944 address sp = current_stack_pointer(); |
945 // Check if we have StackShadowPages above the yellow zone. This parameter | 945 // 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 | 946 // is dependent on the depth of the maximum VM call stack possible from |
947 // the handler for stack overflow. 'instanceof' in the stack overflow | 947 // 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 | 948 // handler or a println uses at least 8k stack of VM and native code |
949 // respectively. | 949 // respectively. |
950 const int framesize_in_bytes = | 950 const int framesize_in_bytes = |
951 Interpreter::size_top_interpreter_activation(method()) * wordSize; | 951 Interpreter::size_top_interpreter_activation(method()) * wordSize; |