< prev index next >

src/hotspot/share/memory/memRegion.hpp

Print this page
rev 53641 : 8218192: Remove copy constructor for MemRegion
Summary: Remove copy constructor in memRegion.hpp
Reviewed-by:

@@ -57,12 +57,10 @@
   MemRegion(MetaWord* start, MetaWord* end) :
     _start((HeapWord*)start), _word_size(pointer_delta(end, start)) {
     assert(end >= start, "incorrect constructor arguments");
   }
 
-  MemRegion(const MemRegion& mr): _start(mr._start), _word_size(mr._word_size) {}
-
   MemRegion intersection(const MemRegion mr2) const;
   // regions must overlap or be adjacent
   MemRegion _union(const MemRegion mr2) const;
   // minus will fail a guarantee if mr2 is interior to this,
   // since there's no way to return 2 disjoint regions.
< prev index next >