< prev index next >

src/share/vm/gc/g1/g1IHOPControl.hpp

Print this page
rev 11935 : 8159818: Convert IHOP_test to GTest
Reviewed-by: duke

*** 1,7 **** /* ! * Copyright (c) 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 97,110 **** virtual void update_marking_length(double marking_length_s) { assert(marking_length_s > 0.0, "Marking length must be larger than zero but is %.3f", marking_length_s); _last_marking_length_s = marking_length_s; } - - #ifndef PRODUCT - static void test(); - #endif }; // This algorithm tries to return a concurrent mark starting occupancy value that // makes sure that during marking the given target occupancy is never exceeded, // based on predictions of current allocation rate and time periods between --- 97,106 ----
*** 146,156 **** virtual void update_allocation_info(double allocation_time_s, size_t allocated_bytes, size_t additional_buffer_size); virtual void update_marking_length(double marking_length_s); virtual void print(); virtual void send_trace_event(G1NewTracer* tracer); - #ifndef PRODUCT - static void test(); - #endif }; #endif // SHARE_VM_GC_G1_G1IHOPCONTROL_HPP --- 142,149 ----
< prev index next >