hotspot/src/share/vm/runtime/perfData.hpp
changeset 13728 882756847a04
parent 13195 be27e1b6a4b9
child 18025 b7bcf7497f93
--- a/hotspot/src/share/vm/runtime/perfData.hpp	Fri Aug 31 16:39:35 2012 -0700
+++ b/hotspot/src/share/vm/runtime/perfData.hpp	Sat Sep 01 13:25:18 2012 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2012, 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
@@ -425,6 +425,7 @@
     inline void inc() { (*(jlong*)_valuep)++; }
     inline void inc(jlong val) { (*(jlong*)_valuep) += val; }
     inline void add(jlong val) { (*(jlong*)_valuep) += val; }
+    void clear_sample_helper() { _sample_helper = NULL; }
 };
 
 /*