equal
deleted
inserted
replaced
730 |
730 |
731 ImmutableOopMapSet* ImmutableOopMapBuilder::build() { |
731 ImmutableOopMapSet* ImmutableOopMapBuilder::build() { |
732 _required = heap_size(); |
732 _required = heap_size(); |
733 |
733 |
734 // We need to allocate a chunk big enough to hold the ImmutableOopMapSet and all of its ImmutableOopMaps |
734 // We need to allocate a chunk big enough to hold the ImmutableOopMapSet and all of its ImmutableOopMaps |
735 address buffer = (address) NEW_C_HEAP_ARRAY(unsigned char, _required, mtCode); |
735 address buffer = NEW_C_HEAP_ARRAY(unsigned char, _required, mtCode); |
736 return generate_into(buffer); |
736 return generate_into(buffer); |
737 } |
737 } |
738 |
738 |
739 ImmutableOopMapSet* ImmutableOopMapSet::build_from(const OopMapSet* oopmap_set) { |
739 ImmutableOopMapSet* ImmutableOopMapSet::build_from(const OopMapSet* oopmap_set) { |
740 ResourceMark mark; |
740 ResourceMark mark; |