File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ struct Allocator {
345
345
: kMaxAllowedMallocSize ;
346
346
}
347
347
348
- bool RssLimitExceeded () {
348
+ bool IsRssLimitExceeded () {
349
349
return atomic_load (&rss_limit_exceeded, memory_order_relaxed);
350
350
}
351
351
@@ -484,7 +484,7 @@ struct Allocator {
484
484
AllocType alloc_type, bool can_fill) {
485
485
if (UNLIKELY (!asan_inited))
486
486
AsanInitFromRtl ();
487
- if (RssLimitExceeded ( )) {
487
+ if (UNLIKELY ( IsRssLimitExceeded () )) {
488
488
if (AllocatorMayReturnNull ())
489
489
return nullptr ;
490
490
ReportRssLimitExceeded (stack);
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ struct Allocator {
301
301
: kMaxAllowedMallocSize ;
302
302
}
303
303
304
- bool RssLimitExceeded () {
304
+ bool IsRssLimitExceeded () {
305
305
return atomic_load (&rss_limit_exceeded, memory_order_relaxed);
306
306
}
307
307
@@ -314,7 +314,7 @@ struct Allocator {
314
314
AllocType alloc_type) {
315
315
if (UNLIKELY (!memprof_inited))
316
316
MemprofInitFromRtl ();
317
- if (RssLimitExceeded ( )) {
317
+ if (UNLIKELY ( IsRssLimitExceeded () )) {
318
318
if (AllocatorMayReturnNull ())
319
319
return nullptr ;
320
320
ReportRssLimitExceeded (stack);
You can’t perform that action at this time.
0 commit comments