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

Tobias Hartmann tobias.hartmann at oracle.com
Wed Feb 17 15:14:44 UTC 2016


Minor correction: JDK-8131330 did not add the test but removed the NOT_DEBUG_RETURN.
For consistency, we should execute the test with the optimized build as we do with other unit tests.

Tobias

On 17.02.2016 16:09, Tobias Hartmann 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
> 


More information about the hotspot-dev mailing list