1.1 --- a/src/share/vm/services/lowMemoryDetector.cpp Wed Jan 16 16:30:04 2013 +0100 1.2 +++ b/src/share/vm/services/lowMemoryDetector.cpp Thu Jan 17 10:25:16 2013 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -353,7 +353,7 @@ 1.11 1.12 #ifndef PRODUCT 1.13 void SensorInfo::print() { 1.14 - tty->print_cr("%s count = %ld pending_triggers = %ld pending_clears = %ld", 1.15 + tty->print_cr("%s count = " SIZE_FORMAT " pending_triggers = %ld pending_clears = %ld", 1.16 (_sensor_on ? "on" : "off"), 1.17 _sensor_count, _pending_trigger_count, _pending_clear_count); 1.18 }