< prev index next >

src/share/vm/services/diagnosticArgument.cpp

Print this page
rev 8910 : full patch for jfr

*** 1,7 **** /* ! * Copyright (c) 2011, 2013, 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) 2011, 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.
*** 278,288 **** template <> void DCmdArgument<MemorySizeArgument>::parse_value(const char* str, size_t len, TRAPS) { if (str == NULL) { THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(), ! "Integer parsing error nanotime value: syntax error"); } if (*str == '-') { THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(), "Parsing error memory size value: negative values not allowed"); --- 278,288 ---- template <> void DCmdArgument<MemorySizeArgument>::parse_value(const char* str, size_t len, TRAPS) { if (str == NULL) { THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(), ! "Parsing error memory size value: syntax error, value is null\n"); } if (*str == '-') { THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(), "Parsing error memory size value: negative values not allowed");
< prev index next >