src/hotspot/share/prims/jvmtiManageCapabilities.cpp
changeset 58512 5185bc8dcbb1
parent 53619 f5fd8eefae0f
equal deleted inserted replaced
58511:eb68d459ba6a 58512:5185bc8dcbb1
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 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.
   365   JvmtiExport::set_can_post_method_exit(avail.can_generate_method_exit_events ||
   365   JvmtiExport::set_can_post_method_exit(avail.can_generate_method_exit_events ||
   366                                         avail.can_generate_frame_pop_events);
   366                                         avail.can_generate_frame_pop_events);
   367   JvmtiExport::set_can_pop_frame(avail.can_pop_frame);
   367   JvmtiExport::set_can_pop_frame(avail.can_pop_frame);
   368   JvmtiExport::set_can_force_early_return(avail.can_force_early_return);
   368   JvmtiExport::set_can_force_early_return(avail.can_force_early_return);
   369   JvmtiExport::set_should_clean_up_heap_objects(avail.can_generate_breakpoint_events);
   369   JvmtiExport::set_should_clean_up_heap_objects(avail.can_generate_breakpoint_events);
       
   370   JvmtiExport::set_can_get_owned_monitor_info(avail.can_get_owned_monitor_info ||
       
   371                                               avail.can_get_owned_monitor_stack_depth_info);
   370 }
   372 }
   371 
   373 
   372 #ifndef PRODUCT
   374 #ifndef PRODUCT
   373 
   375 
   374 void JvmtiManageCapabilities:: print(const jvmtiCapabilities* cap) {
   376 void JvmtiManageCapabilities:: print(const jvmtiCapabilities* cap) {