summaryrefslogtreecommitdiffstats
path: root/rules/jamvm.in
blob: f4dcbfee9f93a9009ce7e1a85d566c661b076e66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
## SECTION=bytecode_engines

menuconfig JAMVM
	tristate
	select LIBC_M
	select LIBC_DL
	select LIBC_PTHREAD
	select ZLIB
	select LIBFFI if JAMVM_USE_LIBFFI
	prompt "jamvm                         "
	help
	  JamVM is a new Java Virtual Machine conforming to the JVM specification
	  edition 2 (blue book). It is extremely small. Unlike other small VMs it
	  supports the full spec, inc. object finalisation and JNI.

if JAMVM

config JAMVM_USE_LIBFFI
	bool
	prompt "use libffi"
	help
	  "enable libffi support"

menuconfig JAMVM_TRACE
	bool
	prompt "enable debug tracers"
	help
	  enable some tracers for debuggin purpose

if JAMVM_TRACE

config JAMVM_TRACE_ALL
	bool
	select JAMVM_TRACE_GC
	select JAMVM_TRACE_ALLOC
	select JAMVM_TRACE_FNLZ
	select JAMVM_TRACE_DLL
	select JAMVM_TRACE_LOCK
	select JAMVM_TRACE_THREAD
	select JAMVM_TRACE_DIRECT
	select JAMVM_TRACE_INLINING
	prompt "enalbe all tracers"

config JAMVM_TRACE_GC
	bool
	prompt "gc tracing"

config JAMVM_TRACE_ALLOC
	bool
	prompt "alloc tracing"

config JAMVM_TRACE_FNLZ
	bool
	prompt "fnlz tracing"

config JAMVM_TRACE_DLL
	bool
	prompt "dll tracing"

config JAMVM_TRACE_LOCK
	bool
	prompt "object locking tracing"

config JAMVM_TRACE_THREAD
	bool
	prompt "thread creation tracing"

config JAMVM_TRACE_DIRECT
	bool
	prompt "interpreter direct-mode tracing"

config JAMVM_TRACE_INLINING
	bool
	prompt "interpreter inlining tracing"
endif

endif