improve grammar in comment
Review-Url: https://codereview.chromium.org/2160633002 Cr-Commit-Position: refs/heads/master@{#37844}
This commit is contained in:
parent
e01fef39f3
commit
6e5077a450
@ -334,7 +334,7 @@ void GCTracer::SampleAllocation(double current_ms,
|
||||
return;
|
||||
}
|
||||
// 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 =
|
||||
new_space_counter_bytes - new_space_allocation_counter_bytes_;
|
||||
size_t old_generation_allocated_bytes =
|
||||
|
@ -1173,7 +1173,7 @@ class Isolate {
|
||||
// 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
|
||||
// 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.
|
||||
class EntryStackItem {
|
||||
public:
|
||||
|
@ -41,8 +41,8 @@ MemCopyUint8Function CreateMemCopyUint8Function(Isolate* isolate,
|
||||
|
||||
// The size of each prefetch.
|
||||
uint32_t pref_chunk = 32;
|
||||
// The maximum size of a prefetch, it must not be less then pref_chunk.
|
||||
// If the real size of a prefetch is greater then max_pref_size and
|
||||
// The maximum size of a prefetch, it must not be less than pref_chunk.
|
||||
// If the real size of a prefetch is greater than max_pref_size and
|
||||
// the kPrefHintPrepareForStore hint is used, the code will not work
|
||||
// correctly.
|
||||
uint32_t max_pref_size = 128;
|
||||
|
@ -42,8 +42,8 @@ MemCopyUint8Function CreateMemCopyUint8Function(Isolate* isolate,
|
||||
|
||||
// The size of each prefetch.
|
||||
uint32_t pref_chunk = 32;
|
||||
// The maximum size of a prefetch, it must not be less then pref_chunk.
|
||||
// If the real size of a prefetch is greater then max_pref_size and
|
||||
// The maximum size of a prefetch, it must not be less than pref_chunk.
|
||||
// If the real size of a prefetch is greater than max_pref_size and
|
||||
// the kPrefHintPrepareForStore hint is used, the code will not work
|
||||
// correctly.
|
||||
uint32_t max_pref_size = 128;
|
||||
|
@ -5726,7 +5726,7 @@ var source =
|
||||
" All uses of av_ are via get_malloc_state().\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" +
|
||||
" 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" +
|
||||
"*/\n" +
|
||||
"\n" +
|
||||
|
Loading…
Reference in New Issue
Block a user