hotspot/src/share/vm/interpreter/bytecodeTracer.cpp
changeset 35898 ddc274f0052f
parent 33604 ad1cd9269bd4
child 46620 750c6edff33b
--- a/hotspot/src/share/vm/interpreter/bytecodeTracer.cpp	Fri Jan 29 20:57:09 2016 -0500
+++ b/hotspot/src/share/vm/interpreter/bytecodeTracer.cpp	Sat Jan 30 11:02:29 2016 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2016, 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
@@ -264,7 +264,7 @@
     return true;
   }
   //climit = cache->length();  // %%% private!
-  size_t size = cache->size() * HeapWordSize;
+  size_t size = cache->size() * wordSize;
   size -= sizeof(ConstantPoolCache);
   size /= sizeof(ConstantPoolCacheEntry);
   climit = (int) size;