src/hotspot/share/services/mallocSiteTable.cpp
changeset 53685 df83034c9275
parent 51038 3312e730c791
child 59252 623722a6aeb9
--- a/src/hotspot/share/services/mallocSiteTable.cpp	Thu Feb 07 12:09:17 2019 +0000
+++ b/src/hotspot/share/services/mallocSiteTable.cpp	Thu Feb 07 14:29:17 2019 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2019, 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
@@ -138,7 +138,7 @@
   MallocSiteHashtableEntry* head = _table[index];
   while (head != NULL && (*pos_idx) <= MAX_BUCKET_LENGTH) {
     MallocSite* site = head->data();
-    if (site->flags() == flags && site->equals(key)) {
+    if (site->flag() == flags && site->equals(key)) {
       return head->data();
     }