Current leyden premain branch fails with the following assert if the assembly run is executed with -XX:ArchiveRelocationMode=1 option.
# Internal Error (\workspace\open\src\hotspot\share\utilities/globalDefinitions.hpp:439), pid=44896, tid=37336
# assert(left >= right) failed: avoid underflow - left: 0x00000008003ba598 right: 0x000001ec04000000
V [jvm.dll+0x173eb] pointer_delta+0x4b (globalDefinitions.hpp:439)
V [jvm.dll+0x2a29a8] AOTCodeCache::write_method+0x188 (aotCodeCache.cpp:2646)
V [jvm.dll+0x2a2756] AOTCodeCache::write_metadata+0xa6 (aotCodeCache.cpp:2516)
V [jvm.dll+0x2a34fb] AOTCodeCache::write_nmethod+0x7bb (aotCodeCache.cpp:1720)
V [jvm.dll+0x2a18e2] AOTCodeCache::store_nmethod+0x122 (aotCodeCache.cpp:1564)
V [jvm.dll+0x52dd98] ciEnv::register_method+0x458 (ciEnv.cpp:1260)
# Internal Error (\workspace\open\src\hotspot\share\utilities/globalDefinitions.hpp:439), pid=44896, tid=37336
# assert(left >= right) failed: avoid underflow - left: 0x00000008003ba598 right: 0x000001ec04000000
V [jvm.dll+0x173eb] pointer_delta+0x4b (globalDefinitions.hpp:439)
V [jvm.dll+0x2a29a8] AOTCodeCache::write_method+0x188 (aotCodeCache.cpp:2646)
V [jvm.dll+0x2a2756] AOTCodeCache::write_metadata+0xa6 (aotCodeCache.cpp:2516)
V [jvm.dll+0x2a34fb] AOTCodeCache::write_nmethod+0x7bb (aotCodeCache.cpp:1720)
V [jvm.dll+0x2a18e2] AOTCodeCache::store_nmethod+0x122 (aotCodeCache.cpp:1564)
V [jvm.dll+0x52dd98] ciEnv::register_method+0x458 (ciEnv.cpp:1260)