mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8227168: Cleanup usage of NEW_C_HEAP_ARRAY
Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
This commit is contained in:
parent
a73f96ef60
commit
eafb888c18
23 changed files with 73 additions and 89 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue