tcmalloc: Remove use of LINKER_INITIALIZED in STLPageHeapAllocator

Remove use of LINKER_INITILIZED flag for
STLPageHeapAllocator<T, LockingTag>::underlying_.

This is a templated static variable and the compiler doesn't optimize
it away as expected. The reasoning is that the templated variable may
be instantiated from multiple compilation units and the optimization
pass misses this opportunity.

Removing the explicit constructor, enables the compiler to optimize the
global constructor away.

BUG=724399,b:119055819

Change-Id: I8674bfe7dc42a24ef522733f45a9330ae2b33946
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1580043
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#653673}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f2131e7ccf1ca01a4e09058316f019b3ecb78fb7
1 file changed
tree: 0d0668fd45c7ca9b7c5b530bd4ba7fcd7c4e1151
  1. src/