diff src/share/vm/oops/constantPool.hpp @ 9183:20dff0211ded

8140452: Internal Error memory/allocation.cpp:179 Summary: use const ref & and avoid copy ctor Reviewed-by: coleenp
author mgerdin
date Mon, 26 Oct 2015 17:13:40 -0400
parents a41fe5ffa839
children 97a7ba9f10cf
line wrap: on
line diff
--- a/src/share/vm/oops/constantPool.hpp	Thu Oct 22 16:25:34 2015 -0700
+++ b/src/share/vm/oops/constantPool.hpp	Mon Oct 26 17:13:40 2015 -0400
@@ -185,7 +185,7 @@
 
   // Create object cache in the constant pool
   void initialize_resolved_references(ClassLoaderData* loader_data,
-                                      intStack reference_map,
+                                      const intStack& reference_map,
                                       int constant_pool_map_length,
                                       TRAPS);