< prev index next >

src/hotspot/share/jfr/recorder/service/jfrOptionSet.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2012, 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) 2012, 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.
*** 104,117 **** u4 JfrOptionSet::stackdepth() { return _stack_depth; } - static const u4 STACK_DEPTH_DEFAULT = 64; - static const u4 MIN_STACK_DEPTH = 1; - static const u4 MAX_STACK_DEPTH = 2048; - void JfrOptionSet::set_stackdepth(u4 depth) { if (depth < MIN_STACK_DEPTH) { _stack_depth = MIN_STACK_DEPTH; } else if (depth > MAX_STACK_DEPTH) { _stack_depth = MAX_STACK_DEPTH; --- 104,113 ----
< prev index next >