4 * 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 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 # include "incls/_precompiled.incl" 25 # include "incls/_jvmtiManageCapabilities.cpp.incl" 26 27 static const jint CAPA_SIZE = (JVMTI_INTERNAL_CAPABILITY_COUNT + 7) / 8; 28 29 // capabilities which are always potentially available 30 jvmtiCapabilities JvmtiManageCapabilities::always_capabilities; 31 32 // capabilities which are potentially available during OnLoad 33 jvmtiCapabilities JvmtiManageCapabilities::onload_capabilities; 34 35 // capabilities which are always potentially available 36 // but to only one environment 37 jvmtiCapabilities JvmtiManageCapabilities::always_solo_capabilities; 38 39 // capabilities which are potentially available during OnLoad 40 // but to only one environment 41 jvmtiCapabilities JvmtiManageCapabilities::onload_solo_capabilities; 42 43 // remaining capabilities which are always potentially available 44 // but to only one environment 45 jvmtiCapabilities JvmtiManageCapabilities::always_solo_remaining_capabilities; 46 | 4 * 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 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #include "precompiled.hpp" 26 #include "jvmtifiles/jvmtiEnv.hpp" 27 #include "prims/jvmtiExport.hpp" 28 #include "prims/jvmtiManageCapabilities.hpp" 29 static const jint CAPA_SIZE = (JVMTI_INTERNAL_CAPABILITY_COUNT + 7) / 8; 30 31 // capabilities which are always potentially available 32 jvmtiCapabilities JvmtiManageCapabilities::always_capabilities; 33 34 // capabilities which are potentially available during OnLoad 35 jvmtiCapabilities JvmtiManageCapabilities::onload_capabilities; 36 37 // capabilities which are always potentially available 38 // but to only one environment 39 jvmtiCapabilities JvmtiManageCapabilities::always_solo_capabilities; 40 41 // capabilities which are potentially available during OnLoad 42 // but to only one environment 43 jvmtiCapabilities JvmtiManageCapabilities::onload_solo_capabilities; 44 45 // remaining capabilities which are always potentially available 46 // but to only one environment 47 jvmtiCapabilities JvmtiManageCapabilities::always_solo_remaining_capabilities; 48 |