equal
deleted
inserted
replaced
31 enum Type { |
31 enum Type { |
32 _alloc_shared, // Allocate common, outside of TLAB |
32 _alloc_shared, // Allocate common, outside of TLAB |
33 _alloc_shared_gc, // Allocate common, outside of GCLAB |
33 _alloc_shared_gc, // Allocate common, outside of GCLAB |
34 _alloc_tlab, // Allocate TLAB |
34 _alloc_tlab, // Allocate TLAB |
35 _alloc_gclab, // Allocate GCLAB |
35 _alloc_gclab, // Allocate GCLAB |
36 _ALLOC_LIMIT, |
36 _ALLOC_LIMIT |
37 }; |
37 }; |
38 |
38 |
39 static const char* alloc_type_to_string(Type type) { |
39 static const char* alloc_type_to_string(Type type) { |
40 switch (type) { |
40 switch (type) { |
41 case _alloc_shared: |
41 case _alloc_shared: |