hotspot/src/share/vm/runtime/handles.cpp
changeset 29697 92501504191b
parent 29199 db7ae483ecb2
child 33105 294e48b4f704
--- a/hotspot/src/share/vm/runtime/handles.cpp	Mon Mar 02 11:08:09 2015 +0100
+++ b/hotspot/src/share/vm/runtime/handles.cpp	Tue Mar 03 18:01:27 2015 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015, 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
@@ -83,7 +83,7 @@
   }
 
   // The thread local handle areas should not get very large
-  if (TraceHandleAllocation && handles_visited > TotalHandleAllocationLimit) {
+  if (TraceHandleAllocation && (size_t)handles_visited > TotalHandleAllocationLimit) {
 #ifdef ASSERT
     warning("%d: Visited in HandleMark : %d",
       _nof_handlemarks, handles_visited);