src/hotspot/share/jfr/dcmd/jfrDcmds.cpp
changeset 54847 59ea39bb2809
parent 52669 e21361bccfa1
child 55302 686dedba1d9a
child 57360 5d043a159d5c
equal deleted inserted replaced
54846:e4049522b074 54847:59ea39bb2809
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2019, 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.
   169 
   169 
   170 static oop construct_dcmd_instance(JfrJavaArguments* args, TRAPS) {
   170 static oop construct_dcmd_instance(JfrJavaArguments* args, TRAPS) {
   171   assert(args != NULL, "invariant");
   171   assert(args != NULL, "invariant");
   172   DEBUG_ONLY(JfrJavaSupport::check_java_thread_in_vm(THREAD));
   172   DEBUG_ONLY(JfrJavaSupport::check_java_thread_in_vm(THREAD));
   173   assert(args->klass() != NULL, "invariant");
   173   assert(args->klass() != NULL, "invariant");
   174   args->set_name("<init>", CHECK_NULL);
   174   args->set_name("<init>");
   175   args->set_signature("()V", CHECK_NULL);
   175   args->set_signature("()V");
   176   JfrJavaSupport::new_object(args, CHECK_NULL);
   176   JfrJavaSupport::new_object(args, CHECK_NULL);
   177   return (oop)args->result()->get_jobject();
   177   return (oop)args->result()->get_jobject();
   178 }
   178 }
   179 
   179 
   180 JfrDumpFlightRecordingDCmd::JfrDumpFlightRecordingDCmd(outputStream* output,
   180 JfrDumpFlightRecordingDCmd::JfrDumpFlightRecordingDCmd(outputStream* output,