DescriptionSupport for showing memory usage of 64-bit IE in a 32-bit Chromium process.
Note that the product version won't be shown and the virtual memory columns will be "N/A".
* memory_details.{cc,h}
Switch to CreateToolhelp32Snapshot()/Process32First()/Process32Next() from EnumProcess() because EnumProcess() in a 32-bit process doesn't enumerate 64-bit processes.
Note: GetModuleFileNameEx() for a 64-bit process fails.
* GetCommittedKBytes() in process_util_win.cc
Don't hung up for a 64-bit process.
It sets zeros as results for a 64-bit process.
* about_memory.html
If a value is zero, shows "N/A".
BUG=191
TEST=manual check for the following cases:
about:memory had no behavior change in 32-bit Windows.
about:memory had no behavior change in 64-bit Windows if 64-bit IE was not running.
about:memory showed "IE (64bit)" row in 64-bit Windows if 64-bit IE was running.
about:memory showed both of "IE" and "IE (64bit)" rows in 64-bit Windows if 64-bit IE and 32-bit IE were running.
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 4
Patch Set 4 : '' #
Messages
Total messages: 5 (0 generated)
|