Crash with "assert(number_of_codes <= 256) failed: too many bytecodes"

John Rose john.r.rose at
Fri Jul 28 21:15:51 UTC 2017

On Jul 27, 2017, at 8:57 AM, Tobias Hartmann <tobias.hartmann at> wrote:
>> Also, why did I not see the issue when running all tests?
> Did you run with a debug build? Maybe your build cached some files. Re-building after changing bytecodes.hpp should take a long time.

A test that fundamental (and cheap) should fail with "java -version" in a release build.
If that's not the case, there should be this in our code:  guarantee(number_of_codes <= 256, "").

More information about the valhalla-dev mailing list