< prev index next >

src/hotspot/share/jfr/leakprofiler/sampling/objectSampler.hpp

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2014, 2020, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -23,10 +23,11 @@
   */
  
  #ifndef SHARE_JFR_LEAKPROFILER_SAMPLING_OBJECTSAMPLER_HPP
  #define SHARE_JFR_LEAKPROFILER_SAMPLING_OBJECTSAMPLER_HPP
  
+ #include "jfr/utilities/jfrBlob.hpp"
  #include "memory/allocation.hpp"
  
  typedef u8 traceid;
  
  class JavaThread;

@@ -58,11 +59,11 @@
    static bool is_created();
    static void destroy();
  
    // Sampling
    static void sample(HeapWord* object, size_t size, JavaThread* thread);
-   void add(HeapWord* object, size_t size, traceid thread_id, JavaThread* thread);
+   void add(HeapWord* object, size_t size, traceid thread_id, bool virtual_thread, const JfrBlobHandle& bh, JavaThread* thread);
    void scavenge();
    void remove_dead(ObjectSample* sample);
  
    const ObjectSample* item_at(int index) const;
    ObjectSample* item_at(int index);
< prev index next >