Withdrawn: 8271569: Change cdsoffsets.cpp to cdsConstants.cpp

Yumin Qi minqi at openjdk.java.net
Thu Sep 9 04:34:06 UTC 2021


On Wed, 8 Sep 2021 19:33:51 GMT, Yumin Qi <minqi at openjdk.org> wrote:

> Changed cdsOffsets.cpp to cdsConstants.cpp, now the offsets and constants are initialized static and searched separately.
> The offsets array could not use 'constexpr' since g++ on MacOs and VSC++ on Windows complained reinterpret_cast in 'offset_of' should not be used in constexpr initialization. Changed some field access for forming global list first.
> 
> Tests: ter1-4
> 
> Thanks
> Yumin

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5423


More information about the hotspot-dev mailing list