< prev index next >

src/share/vm/jfr/recorder/checkpoint/types/jfrType.cpp

Print this page
rev 9055 : 8214542: JFR: Old Object Sample event slow on a deep heap in debug builds
Reviewed-by: egahlin, rwestberg
rev 9056 : 8228834: Regression caused by JDK-8214542 not installing complete checkpoint data to candidates
Reviewed-by: egahlin

*** 1,7 **** /* ! * Copyright (c) 2016, 2018, 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) 2016, 2019, 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.
*** 314,324 **** type_set.write(writer, NULL); }; void TypeSet::serialize(JfrCheckpointWriter& writer) { TypeSetSerialization type_set(false); ! if (LeakProfiler::is_suspended()) { JfrCheckpointWriter leakp_writer(false, true, Thread::current()); type_set.write(writer, &leakp_writer); ObjectSampleCheckpoint::install(leakp_writer, false, true); return; } --- 314,324 ---- type_set.write(writer, NULL); }; void TypeSet::serialize(JfrCheckpointWriter& writer) { TypeSetSerialization type_set(false); ! if (LeakProfiler::is_running()) { JfrCheckpointWriter leakp_writer(false, true, Thread::current()); type_set.write(writer, &leakp_writer); ObjectSampleCheckpoint::install(leakp_writer, false, true); return; }
< prev index next >