8227168: Cleanup usage of NEW_C_HEAP_ARRAY

Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
This commit is contained in:
Leo Korinth 2019-09-11 14:16:27 +02:00
parent a73f96ef60
commit eafb888c18
23 changed files with 73 additions and 89 deletions

View file

@ -732,7 +732,7 @@ ImmutableOopMapSet* ImmutableOopMapBuilder::build() {
_required = heap_size();
// We need to allocate a chunk big enough to hold the ImmutableOopMapSet and all of its ImmutableOopMaps
address buffer = (address) NEW_C_HEAP_ARRAY(unsigned char, _required, mtCode);
address buffer = NEW_C_HEAP_ARRAY(unsigned char, _required, mtCode);
return generate_into(buffer);
}