equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 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. |
60 jobject lt = log_tag_sets[jflt].log_tag_enum_ref; |
60 jobject lt = log_tag_sets[jflt].log_tag_enum_ref; |
61 // set field tagSetLevel to llt value |
61 // set field tagSetLevel to llt value |
62 JavaValue result(T_VOID); |
62 JavaValue result(T_VOID); |
63 JfrJavaArguments args(&result); |
63 JfrJavaArguments args(&result); |
64 args.set_klass(JfrJavaSupport::klass(lt)); |
64 args.set_klass(JfrJavaSupport::klass(lt)); |
65 args.set_name("tagSetLevel", CHECK); |
65 args.set_name("tagSetLevel"); |
66 args.set_signature("I", CHECK); |
66 args.set_signature("I"); |
67 args.set_receiver(JfrJavaSupport::resolve_non_null(lt)); |
67 args.set_receiver(JfrJavaSupport::resolve_non_null(lt)); |
68 args.push_int(llt); |
68 args.push_int(llt); |
69 JfrJavaSupport::set_field(&args, THREAD); |
69 JfrJavaSupport::set_field(&args, THREAD); |
70 } |
70 } |
71 |
71 |