Commit 6e5077a4 authored by thakis's avatar thakis Committed by Commit bot

improve grammar in comment

Review-Url: https://codereview.chromium.org/2160633002
Cr-Commit-Position: refs/heads/master@{#37844}
parent e01fef39
...@@ -334,7 +334,7 @@ void GCTracer::SampleAllocation(double current_ms, ...@@ -334,7 +334,7 @@ void GCTracer::SampleAllocation(double current_ms,
return; return;
} }
// This assumes that counters are unsigned integers so that the subtraction // This assumes that counters are unsigned integers so that the subtraction
// below works even if the new counter is less then the old counter. // below works even if the new counter is less than the old counter.
size_t new_space_allocated_bytes = size_t new_space_allocated_bytes =
new_space_counter_bytes - new_space_allocation_counter_bytes_; new_space_counter_bytes - new_space_allocation_counter_bytes_;
size_t old_generation_allocated_bytes = size_t old_generation_allocated_bytes =
......
...@@ -1173,7 +1173,7 @@ class Isolate { ...@@ -1173,7 +1173,7 @@ class Isolate {
// the Isolate. The top of the stack points to a thread which is currently // the Isolate. The top of the stack points to a thread which is currently
// running the Isolate. When the stack is empty, the Isolate is considered // running the Isolate. When the stack is empty, the Isolate is considered
// not entered by any thread and can be Disposed. // not entered by any thread and can be Disposed.
// If the same thread enters the Isolate more then once, the entry_count_ // If the same thread enters the Isolate more than once, the entry_count_
// is incremented rather then a new item pushed to the stack. // is incremented rather then a new item pushed to the stack.
class EntryStackItem { class EntryStackItem {
public: public:
......
...@@ -41,8 +41,8 @@ MemCopyUint8Function CreateMemCopyUint8Function(Isolate* isolate, ...@@ -41,8 +41,8 @@ MemCopyUint8Function CreateMemCopyUint8Function(Isolate* isolate,
// The size of each prefetch. // The size of each prefetch.
uint32_t pref_chunk = 32; uint32_t pref_chunk = 32;
// The maximum size of a prefetch, it must not be less then pref_chunk. // The maximum size of a prefetch, it must not be less than pref_chunk.
// If the real size of a prefetch is greater then max_pref_size and // If the real size of a prefetch is greater than max_pref_size and
// the kPrefHintPrepareForStore hint is used, the code will not work // the kPrefHintPrepareForStore hint is used, the code will not work
// correctly. // correctly.
uint32_t max_pref_size = 128; uint32_t max_pref_size = 128;
......
...@@ -42,8 +42,8 @@ MemCopyUint8Function CreateMemCopyUint8Function(Isolate* isolate, ...@@ -42,8 +42,8 @@ MemCopyUint8Function CreateMemCopyUint8Function(Isolate* isolate,
// The size of each prefetch. // The size of each prefetch.
uint32_t pref_chunk = 32; uint32_t pref_chunk = 32;
// The maximum size of a prefetch, it must not be less then pref_chunk. // The maximum size of a prefetch, it must not be less than pref_chunk.
// If the real size of a prefetch is greater then max_pref_size and // If the real size of a prefetch is greater than max_pref_size and
// the kPrefHintPrepareForStore hint is used, the code will not work // the kPrefHintPrepareForStore hint is used, the code will not work
// correctly. // correctly.
uint32_t max_pref_size = 128; uint32_t max_pref_size = 128;
......
...@@ -5726,7 +5726,7 @@ var source = ...@@ -5726,7 +5726,7 @@ var source =
" All uses of av_ are via get_malloc_state().\n" + " All uses of av_ are via get_malloc_state().\n" +
" At most one \"call\" to get_malloc_state is made per invocation of\n" + " At most one \"call\" to get_malloc_state is made per invocation of\n" +
" the public versions of malloc and free, but other routines\n" + " the public versions of malloc and free, but other routines\n" +
" that in turn invoke malloc and/or free may call more then once.\n" + " that in turn invoke malloc and/or free may call more than once.\n" +
" Also, it is called in check* routines if DEBUG is set.\n" + " Also, it is called in check* routines if DEBUG is set.\n" +
"*/\n" + "*/\n" +
"\n" + "\n" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment