Crash with "assert(number_of_codes <= 256) failed: too many bytecodes"
Tobias Hartmann
tobias.hartmann at oracle.com
Fri Jul 28 09:20:55 UTC 2017
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:
http://cr.openjdk.java.net/~thartmann/valhalla/vt_prototype/webrev.36.hs/src/share/vm/oops/generateOopMap.cpp.sdiff.html
Best regards,
Tobias
More information about the valhalla-dev
mailing list