comparison src/share/vm/memory/generation.hpp @ 18041:52b4284cb496

Merge with jdk8u20-b26
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 15 Oct 2014 16:02:50 +0200
parents 89152779163c 78bbf4d43a14
children 7848fc12602b
comparison
equal deleted inserted replaced
17606:45d7b2c7029d 18041:52b4284cb496
1 /* 1 /*
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
297 virtual bool supports_tlab_allocation() const { return false; } 297 virtual bool supports_tlab_allocation() const { return false; }
298 virtual size_t tlab_capacity() const { 298 virtual size_t tlab_capacity() const {
299 guarantee(false, "Generation doesn't support thread local allocation buffers"); 299 guarantee(false, "Generation doesn't support thread local allocation buffers");
300 return 0; 300 return 0;
301 } 301 }
302 virtual size_t tlab_used() const {
303 guarantee(false, "Generation doesn't support thread local allocation buffers");
304 return 0;
305 }
302 virtual size_t unsafe_max_tlab_alloc() const { 306 virtual size_t unsafe_max_tlab_alloc() const {
303 guarantee(false, "Generation doesn't support thread local allocation buffers"); 307 guarantee(false, "Generation doesn't support thread local allocation buffers");
304 return 0; 308 return 0;
305 } 309 }
306 310
416 // that guarantees monotonically non-decreasing values provided 420 // that guarantees monotonically non-decreasing values provided
417 // the underlying platform provides such a source. So we still 421 // the underlying platform provides such a source. So we still
418 // have to guard against non-monotonicity. 422 // have to guard against non-monotonicity.
419 NOT_PRODUCT( 423 NOT_PRODUCT(
420 if (now < _time_of_last_gc) { 424 if (now < _time_of_last_gc) {
421 warning("time warp: "INT64_FORMAT" to "INT64_FORMAT, _time_of_last_gc, now); 425 warning("time warp: "INT64_FORMAT" to "INT64_FORMAT, (int64_t)_time_of_last_gc, (int64_t)now);
422 } 426 }
423 ) 427 )
424 return _time_of_last_gc; 428 return _time_of_last_gc;
425 } 429 }
426 430