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

Tobias Hartmann tobias.hartmann at
Fri Jul 28 12:56:04 UTC 2017

All tests passed. I've pushed the changes.

With Mandy's fix for 8185148, the repo should be stable again.

Best regards,

On 28.07.2017 11:20, Tobias Hartmann wrote:
> On 28.07.2017 10:57, Tobias Hartmann wrote:
>> (2) Oop map generation is broken because there is no way to determine if the _getfield bytecode accesses a value type field.
>> -> I had to temporarily disable verification. See changes in generateOopMap.cpp/hpp. Checking itr->raw_code() == Bytecodes::_vgetfield is not sufficient and also a constant pool lookup does not work in all cases.
>> Any ideas on how to fix this?
> Okay, using the 'CellTypeState::refOrValueType' hack should do the job:
> Best regards,
> Tobias

More information about the valhalla-dev mailing list