Ready to review, not that precursor landed
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
LGTM in general modulo the test
TEST(Heap, NewOldGenerationSizeFromPhysicalMemory) {I would prefer if this test would be a copy of ExpectedDefaultGenerationLimitsForPhysicalMemory for this flag (or maybe integrate it into that test).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I would prefer if this test would be a copy of ExpectedDefaultGenerationLimitsForPhysicalMemory for this flag (or maybe integrate it into that test).
Good idea done (I think it's easier to make a copy).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Thanks, LGTM
// Max old generation allocation limit for 64-bit (no pointer compression).Nit: no pointer compression outdated now.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Max old generation allocation limit for 64-bit (no pointer compression).Nit: no pointer compression outdated now.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
33 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: test/unittests/heap/heap-unittest.cc
Insertions: 1, Deletions: 1.
@@ -349,7 +349,7 @@
uint64_t physical_memory;
// Max old generation allocation limit for 32-bit.
uint64_t arch_32bit;
- // Max old generation allocation limit for 64-bit (no pointer compression).
+ // Max old generation allocation limit for 64-bit.
uint64_t arch_64bit;
};
```
[heap] Implement new Old Generation Heap Size
Behind new_old_generation_heap_size flag, MaxOldGenerationSizeFromPhysicalMemory returns 1\4GB on 32\64bits devices, (4Gb is the cage size), and always use 256Mb lower bound,
which is the old gen size on Android 1Gb devices.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |