RFR: 8220294: ZGC fails to build on GCC 4.4.7: Type parameter issue

Severin Gehwolf sgehwolf at redhat.com
Fri Mar 8 14:04:30 UTC 2019


Hi,

Could I please get reviews for this build fix for ZGC. GCC 4.4.7 seems
to get confused which constructor it should use for ZStatSampler,
ZStatCounter and ZStatUnsampledCounter. Specifying the template type T
for ZStatIterableValue for each of them in the initializer list fixes
it.

Bug: https://bugs.openjdk.java.net/browse/JDK-8220294
webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8220294/01/webrev/

Testing: tier1, jdk/submit (currently running). Builds on CentOS 6 with
GCC 4.4.7.

Thoughts?

Thanks,
Severin



More information about the hotspot-gc-dev mailing list