1 /*
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
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 *
381 declare_constant(JVM_ACC_MONITOR_MATCH) \
382 declare_constant(JVM_ACC_HAS_MONITOR_BYTECODES) \
383 declare_constant(JVM_ACC_HAS_FINALIZER) \
384 declare_constant(JVM_ACC_IS_CLONEABLE_FAST) \
385 declare_constant(JVM_ACC_FIELD_INTERNAL) \
386 declare_constant(JVM_ACC_FIELD_STABLE) \
387 declare_constant(JVM_ACC_FIELD_HAS_GENERIC_SIGNATURE) \
388 declare_preprocessor_constant("JVM_ACC_VARARGS", JVM_ACC_VARARGS) \
389 declare_preprocessor_constant("JVM_ACC_BRIDGE", JVM_ACC_BRIDGE) \
390 declare_preprocessor_constant("JVM_ACC_ANNOTATION", JVM_ACC_ANNOTATION) \
391 declare_preprocessor_constant("JVM_ACC_ENUM", JVM_ACC_ENUM) \
392 declare_preprocessor_constant("JVM_ACC_SYNTHETIC", JVM_ACC_SYNTHETIC) \
393 \
394 declare_constant(JVM_CONSTANT_Utf8) \
395 declare_constant(JVM_CONSTANT_Unicode) \
396 declare_constant(JVM_CONSTANT_Integer) \
397 declare_constant(JVM_CONSTANT_Float) \
398 declare_constant(JVM_CONSTANT_Long) \
399 declare_constant(JVM_CONSTANT_Double) \
400 declare_constant(JVM_CONSTANT_Class) \
401 declare_constant(JVM_CONSTANT_Value) \
402 declare_constant(JVM_CONSTANT_String) \
403 declare_constant(JVM_CONSTANT_Fieldref) \
404 declare_constant(JVM_CONSTANT_Methodref) \
405 declare_constant(JVM_CONSTANT_InterfaceMethodref) \
406 declare_constant(JVM_CONSTANT_NameAndType) \
407 declare_constant(JVM_CONSTANT_MethodHandle) \
408 declare_constant(JVM_CONSTANT_MethodType) \
409 declare_constant(JVM_CONSTANT_InvokeDynamic) \
410 declare_constant(JVM_CONSTANT_ExternalMax) \
411 \
412 declare_constant(JVM_CONSTANT_Invalid) \
413 declare_constant(JVM_CONSTANT_InternalMin) \
414 declare_constant(JVM_CONSTANT_UnresolvedClass) \
415 declare_constant(JVM_CONSTANT_UnresolvedValue) \
416 declare_constant(JVM_CONSTANT_ClassIndex) \
417 declare_constant(JVM_CONSTANT_ValueIndex) \
418 declare_constant(JVM_CONSTANT_StringIndex) \
419 declare_constant(JVM_CONSTANT_UnresolvedClassInError) \
420 declare_constant(JVM_CONSTANT_UnresolvedValueInError) \
421 declare_constant(JVM_CONSTANT_MethodHandleInError) \
422 declare_constant(JVM_CONSTANT_MethodTypeInError) \
423 declare_constant(JVM_CONSTANT_DynamicInError) \
424 declare_constant(JVM_CONSTANT_InternalMax) \
425 \
426 declare_constant(ArrayData::array_len_off_set) \
427 declare_constant(ArrayData::array_start_off_set) \
428 \
429 declare_constant(BitData::exception_seen_flag) \
430 declare_constant(BitData::null_seen_flag) \
431 declare_constant(BranchData::not_taken_off_set) \
432 \
433 declare_constant_with_value("CardTableModRefBS::dirty_card", CardTableModRefBS::dirty_card_val()) \
434 \
435 declare_constant(CodeInstaller::VERIFIED_ENTRY) \
436 declare_constant(CodeInstaller::UNVERIFIED_ENTRY) \
437 declare_constant(CodeInstaller::OSR_ENTRY) \
438 declare_constant(CodeInstaller::EXCEPTION_HANDLER_ENTRY) \
439 declare_constant(CodeInstaller::DEOPT_HANDLER_ENTRY) \
440 declare_constant(CodeInstaller::INVOKEINTERFACE) \
|
1 /*
2 * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
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 *
381 declare_constant(JVM_ACC_MONITOR_MATCH) \
382 declare_constant(JVM_ACC_HAS_MONITOR_BYTECODES) \
383 declare_constant(JVM_ACC_HAS_FINALIZER) \
384 declare_constant(JVM_ACC_IS_CLONEABLE_FAST) \
385 declare_constant(JVM_ACC_FIELD_INTERNAL) \
386 declare_constant(JVM_ACC_FIELD_STABLE) \
387 declare_constant(JVM_ACC_FIELD_HAS_GENERIC_SIGNATURE) \
388 declare_preprocessor_constant("JVM_ACC_VARARGS", JVM_ACC_VARARGS) \
389 declare_preprocessor_constant("JVM_ACC_BRIDGE", JVM_ACC_BRIDGE) \
390 declare_preprocessor_constant("JVM_ACC_ANNOTATION", JVM_ACC_ANNOTATION) \
391 declare_preprocessor_constant("JVM_ACC_ENUM", JVM_ACC_ENUM) \
392 declare_preprocessor_constant("JVM_ACC_SYNTHETIC", JVM_ACC_SYNTHETIC) \
393 \
394 declare_constant(JVM_CONSTANT_Utf8) \
395 declare_constant(JVM_CONSTANT_Unicode) \
396 declare_constant(JVM_CONSTANT_Integer) \
397 declare_constant(JVM_CONSTANT_Float) \
398 declare_constant(JVM_CONSTANT_Long) \
399 declare_constant(JVM_CONSTANT_Double) \
400 declare_constant(JVM_CONSTANT_Class) \
401 declare_constant(JVM_CONSTANT_String) \
402 declare_constant(JVM_CONSTANT_Fieldref) \
403 declare_constant(JVM_CONSTANT_Methodref) \
404 declare_constant(JVM_CONSTANT_InterfaceMethodref) \
405 declare_constant(JVM_CONSTANT_NameAndType) \
406 declare_constant(JVM_CONSTANT_MethodHandle) \
407 declare_constant(JVM_CONSTANT_MethodType) \
408 declare_constant(JVM_CONSTANT_InvokeDynamic) \
409 declare_constant(JVM_CONSTANT_ExternalMax) \
410 \
411 declare_constant(JVM_CONSTANT_Invalid) \
412 declare_constant(JVM_CONSTANT_InternalMin) \
413 declare_constant(JVM_CONSTANT_UnresolvedClass) \
414 declare_constant(JVM_CONSTANT_ClassIndex) \
415 declare_constant(JVM_CONSTANT_StringIndex) \
416 declare_constant(JVM_CONSTANT_UnresolvedClassInError) \
417 declare_constant(JVM_CONSTANT_MethodHandleInError) \
418 declare_constant(JVM_CONSTANT_MethodTypeInError) \
419 declare_constant(JVM_CONSTANT_DynamicInError) \
420 declare_constant(JVM_CONSTANT_InternalMax) \
421 \
422 declare_constant(ArrayData::array_len_off_set) \
423 declare_constant(ArrayData::array_start_off_set) \
424 \
425 declare_constant(BitData::exception_seen_flag) \
426 declare_constant(BitData::null_seen_flag) \
427 declare_constant(BranchData::not_taken_off_set) \
428 \
429 declare_constant_with_value("CardTableModRefBS::dirty_card", CardTableModRefBS::dirty_card_val()) \
430 \
431 declare_constant(CodeInstaller::VERIFIED_ENTRY) \
432 declare_constant(CodeInstaller::UNVERIFIED_ENTRY) \
433 declare_constant(CodeInstaller::OSR_ENTRY) \
434 declare_constant(CodeInstaller::EXCEPTION_HANDLER_ENTRY) \
435 declare_constant(CodeInstaller::DEOPT_HANDLER_ENTRY) \
436 declare_constant(CodeInstaller::INVOKEINTERFACE) \
|