diff src/share/vm/gc_implementation/g1/g1StringDedupTable.hpp @ 24025:04a62a3d51d7

8158871: Long response times with G1 and StringDeduplication Reviewed-by: pliden, tschatzl
author vkempik
date Thu, 30 Jun 2016 17:28:39 +0300
parents 595c0f60d50d
children
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1StringDedupTable.hpp	Mon Jun 27 11:27:57 2016 +0000
+++ b/src/share/vm/gc_implementation/g1/g1StringDedupTable.hpp	Thu Jun 30 17:28:39 2016 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -218,8 +218,8 @@
   // and deletes the previously active table.
   static void finish_rehash(G1StringDedupTable* rehashed_table);
 
-  // If the table entry cache has grown too large, trim it down according to policy
-  static void trim_entry_cache();
+  // If the table entry cache has grown too large, delete overflowed entries.
+  static void clean_entry_cache();
 
   static void unlink_or_oops_do(G1StringDedupUnlinkOrOopsDoClosure* cl, uint worker_id);