[9] RFR(XS): 8150063: Optimized build fails with "undefined reference to 'test_memset_with_concurrent_readers()'"

Kim Barrett kim.barrett at oracle.com
Wed Feb 17 22:44:39 UTC 2016


> On Feb 17, 2016, at 10:09 AM, Tobias Hartmann <tobias.hartmann at oracle.com> wrote:
> 
> Hi,
> 
> please review the following patch.
> 
> https://bugs.openjdk.java.net/browse/JDK-8150063
> http://cr.openjdk.java.net/~thartmann/8150063/webrev.00/
> 
> JDK-8131330 added 'test_memset_with_concurrent_readers()' which is guarded by #ifdef ASSERT and therefore not available in the optimized build. Since the optimized build executes unit tests, it should be guarded by #ifndef PRODUCT instead.
> 
> Thanks,
> Tobias

Looks good.



More information about the hotspot-dev mailing list