changeset 191:1eda4c84297f

Bug 3288: collect_reftree option does not affect oop scan Reviewed-by: ykubota https://github.com/HeapStats/heapstats/pull/75
author Yasumasa Suenaga <yasuenag@gmail.com>
date Tue, 17 Jan 2017 18:32:43 +0900
parents 61d4732ddf95
children 875e77aab468
files ChangeLog agent/src/heapstats-engines/snapShotMain.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jan 17 12:07:20 2017 +0900
+++ b/ChangeLog	Tue Jan 17 18:32:43 2017 +0900
@@ -1,6 +1,7 @@
 2017-01-17  Yasumasa Suenaga <yasuenag@gmail.com>
 
 	* Bug 3284: HeapStats Agent might crash when object children are scanned
+	* Bug 3288: collect_reftree option does not affect oop scan 
 
 2017-01-16  Yasumasa Suenaga <yasuenag@gmail.com>
 
--- a/agent/src/heapstats-engines/snapShotMain.cpp	Tue Jan 17 12:07:20 2017 +0900
+++ b/agent/src/heapstats-engines/snapShotMain.cpp	Tue Jan 17 18:32:43 2017 +0900
@@ -473,7 +473,7 @@
   localSnapshot->FastInc(clsCounter->counter, size);
 
   /* If we should not collect reftree or oop has no field. */
-  if (!conf->ReduceSnapShot()->get() || !hasOopField(oopType)) {
+  if (!conf->CollectRefTree()->get() || !hasOopField(oopType)) {
     return;
   }