< prev index next >

src/hotspot/share/memory/allocation.hpp

Print this page
@@ -356,11 +356,11 @@
                       // can't use TRAPS from this header file.
    void* operator new(size_t size, ClassLoaderData* loader_data,
                       size_t word_size,
                       Type type) throw();
    // This is used for allocating training data. We are allocating training data in many cases where a GC cannot be triggered.
-   void* operator new(size_t size, MemTag flags) throw();
+   void* operator new(size_t size, MemTag flags);
    void operator delete(void* p) = delete;
  
    // Declare a *static* method with the same signature in any subclass of MetaspaceObj
    // that should be read-only by default. See symbol.hpp for an example. This function
    // is used by the templates in metaspaceClosure.hpp
< prev index next >