I don't know how long this has been the case but g1CollectedHeap.hpp breaks the optimized build because the declaration of is_in_closed_subset is NOT_PRODUCT but the definition is DEBUG only and is_in_closed_subset is a virtual. Is this a known issue? By the way, it seems broken for a product virtual method to have non-product overrides. Shouldn't it be defined in product too? gmake[4]: Leaving directory `/home/ecaspole/views/hotspot-comp/hotspot/build/linux/linux_amd64_compiler2/optimized' gmake[4]: Entering directory `/home/ecaspole/views/hotspot-comp/hotspot/build/linux/linux_amd64_compiler2/optimized' echo Linking launcher... Linking launcher... gcc -m64 -Xlinker -O1 -Wl,--hash-style=both -m64 -export-dynamic -L `pwd` -o gamma launcher/java_md.o launcher/java.o launcher/jli_util.o launcher/wildcard.o -ljvm -lm -ldl -lpthread /home/ecaspole/views/hotspot-comp/hotspot/build/linux/linux_amd64_compiler2/optimized/libjvm.so: undefined reference to `G1CollectedHeap::is_in_closed_subset(void const*) const' collect2: ld returned 1 exit status gmake[4]: *** [gamma] Error 1 gmake[4]: Leaving directory `/home/ecaspole/views/hotspot-comp/hotspot/build/linux/linux_amd64_compiler2/optimized' gmake[3]: *** [the_vm] Error 2 gmake[3]: Leaving directory `/home/ecaspole/views/hotspot-comp/hotspot/build/linux/linux_amd64_compiler2/optimized' gmake[2]: *** [optimized] Error 2 gmake[2]: Leaving directory `/home/ecaspole/views/hotspot-comp/hotspot/build/linux' gmake[1]: *** [generic_build2] Error 2 gmake[1]: Leaving directory `/home/ecaspole/views/hotspot-comp/hotspot/make' gmake: *** [optimized] Error 2
|