RFR: 8170395: Metaspace initialization queries the wrong chunk freelist
Kim Barrett
kim.barrett at oracle.com
Mon Nov 28 18:49:30 UTC 2016
> On Nov 28, 2016, at 11:45 AM, Mikael Gerdin <mikael.gerdin at oracle.com> wrote:
> You might want to make the "const size_t" constants you moved out of the enum to either be "static" (which would be static in the C-sense) or add them in an anonymous namespace since otherwise they will pollute the global symbol namespace (more so than an enum which is strictly file scoped).
C++ const declarations at namesapce scope have internal linkage unless explicitly declared to have external linkage.
More information about the hotspot-dev
mailing list