src/hotspot/share/gc/shared/collectedHeap.hpp
changeset 50057 f945444fabc3
parent 49945 9425445633cf
child 50414 7efd1291e962
child 56578 e8414c8ead61
--- a/src/hotspot/share/gc/shared/collectedHeap.hpp	Mon May 07 14:57:23 2018 +0200
+++ b/src/hotspot/share/gc/shared/collectedHeap.hpp	Mon May 07 14:57:25 2018 +0200
@@ -597,6 +597,9 @@
   virtual oop pin_object(JavaThread* thread, oop obj);
   virtual void unpin_object(JavaThread* thread, oop obj);
 
+  // Deduplicate the string, iff the GC supports string deduplication.
+  virtual void deduplicate_string(oop str);
+
   virtual bool is_oop(oop object) const;
 
   // Non product verification and debugging.