hotspot/src/share/vm/gc/shared/collectorPolicy.hpp
changeset 35927 58bbbbb4a8c7
parent 33212 906b3d079b13
child 38010 51fe205359f8
--- a/hotspot/src/share/vm/gc/shared/collectorPolicy.hpp	Thu Feb 04 08:36:38 2016 +0100
+++ b/hotspot/src/share/vm/gc/shared/collectorPolicy.hpp	Wed Feb 03 11:33:33 2016 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 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
@@ -145,24 +145,9 @@
 
   virtual CardTableRS* create_rem_set(MemRegion reserved);
 
-  // This method controls how a collector satisfies a request
-  // for a block of memory.  "gc_time_limit_was_exceeded" will
-  // be set to true if the adaptive size policy determine that
-  // an excessive amount of time is being spent doing collections
-  // and caused a NULL to be returned.  If a NULL is not returned,
-  // "gc_time_limit_was_exceeded" has an undefined meaning.
-  virtual HeapWord* mem_allocate_work(size_t size,
-                                      bool is_tlab,
-                                      bool* gc_overhead_limit_was_exceeded) = 0;
-
-  // This method controls how a collector handles one or more
-  // of its generations being fully allocated.
-  virtual HeapWord *satisfy_failed_allocation(size_t size, bool is_tlab) = 0;
-  // This method controls how a collector handles a metadata allocation
-  // failure.
-  virtual MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
-                                                       size_t size,
-                                                       Metaspace::MetadataType mdtype);
+  MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
+                                               size_t size,
+                                               Metaspace::MetadataType mdtype);
 
   // Performance Counter support
   GCPolicyCounters* counters()     { return _gc_policy_counters; }