Skip to content

Instantly share code, notes, and snippets.

@rednaxelafx
Created August 15, 2011 18:37
Show Gist options
  • Save rednaxelafx/1147395 to your computer and use it in GitHub Desktop.
Save rednaxelafx/1147395 to your computer and use it in GitHub Desktop.
building Maxine VM on Mac OS X 10.7
Last login: Tue Aug 16 01:27:40 on ttys001
Kriss-MacBook-Air:~ rednaxelafx$ cd build/maxine/
Kriss-MacBook-Air:maxine rednaxelafx$ max
Maxine Launcher
available commands:
build compile the Maxine Java and C sources, linking the latter
c1x process a list of methods with the C1X compiler
check run Checkstyle on the Maxine Java sources
clean Remove all class files, images, and executables
configs prints the predefined image configurations
copycheck run copyright check on the Maxine sources (defined as being under hg control)
copyvm copy the VM files to a specified directory
core inspect a core file with the Inspector
dis preprocess class files with the Maxine VM and disassemble the result with javap
eclipse launch Eclipse with the Maxine VM
eclipseprojects (re)generate Eclipse project configurations
gate run the tests used to validate a push to the stable Maxine repository
hcfdis disassembles HexCodeFiles embedded in text files
helloworld run a basic 'hello world' program on the Maxine VM
help show help for a given command
Exception in thread "main" java.lang.NoClassDefFoundError: test/com/sun/max/vm/MaxineTesterConfiguration
Caused by: java.lang.ClassNotFoundException: test.com.sun.max.vm.MaxineTesterConfiguration
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
image build a boot image
inspect launch a given program under the Inspector
inspectoragent launch the Inspector agent
javadoc run javadoc over the Maxine Java source files
javap launch javap with a -classpath option denoting all the Maxine classes
jnigen (re)generate content in JniFunctions.java from JniFunctionsSource.java
jrockitbm run the jrockit benchmark suite
jtest run the Java Tester
jtt run the JTMaxine program in the Maxine VM
jttgen (re)generate harness and run scheme for the JavaTester tests
makejdk create a JDK directory based on the Maxine VM
methodtree print the causality spanning-tree of the method graph in the boot image
msgate run the GC tests using the MS heap scheme
nm print the contents of a boot image
objecttree print the causality spanning-tree of the object graph in the boot image
projects show contents of all projects.properties files
test run some or all of the Maxine tests
verify verifies a set of methods using the Maxine bytecode verifier
view browse the boot image under the Inspector
vm launch the Maxine VM
global options:
-v enable verbose output
-d enable debug output
-h show launcher help
-cp/p:<arg> class path prefix
-cp/a:<arg> class path suffix
-vmdir <path> directory for VM executable, shared libraries boot image and related files
(default: /Users/rednaxelafx/build/maxine/com.oracle.max.vm.native/generated/darwin)
-java_home <path> JDK installation directory (must be JDK 6 or later)
(default: value of the JAVA_HOME environment variable)
-jvm <path> Java VM executable (default: bin/java under JAVA_HOME)
-dbgport <num> add following to Java VM arguments to enable attaching a debugger:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=<num>
-dbg alias for '-dbgport 8000'
-J<args> Java VM arguments (default: -d64 -ea -Xss2m -Xmx1g)
-J/p<args> prefix Java VM arguments
-J/a<args> suffix Java VM arguments
-maxine <path> base directory of the Maxine code base
(default: /Users/rednaxelafx/build/maxine)
-make <path> path to GNU make executable (default: /usr/bin/make)
-os osname operating system hosting the VM (all lower case) for remote inspecting
Kriss-MacBook-Air:maxine rednaxelafx$ max build
Compiling C sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vm.native...
mkdir -p build/darwin/hosted
cp -f hosted/hosted.mk build/darwin/hosted/makefile
(cd build/darwin/hosted; /usr/bin/make all)
gcc -M -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/mutex.c | sed 's/mutex\.o/& mutex.d/g' > mutex.d
gcc -M -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/dataio.c | sed 's/dataio\.o/& dataio.d/g' > dataio.d
gcc -M -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/relocation.c | sed 's/relocation\.o/& relocation.d/g' > relocation.d
gcc -M -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../hosted/platform.c | sed 's/platform\.o/& platform.d/g' > platform.d
gcc -M -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/log.c | sed 's/log\.o/& log.d/g' > log.d
gcc -M -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/c.c | sed 's/c\.o/& c.d/g' > c.d
gcc -M -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../hosted/boxedPointer.c | sed 's/boxedPointer\.o/& boxedPointer.d/g' > boxedPointer.d
gcc -M -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../hosted/boxedMemory.c | sed 's/boxedMemory\.o/& boxedMemory.d/g' > boxedMemory.d
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o boxedMemory.o ../../../hosted/boxedMemory.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o boxedPointer.o ../../../hosted/boxedPointer.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o c.o ../../../share/c.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o log.o ../../../share/log.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o platform.o ../../../hosted/platform.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o relocation.o ../../../share/relocation.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o dataio.o ../../../share/dataio.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DHOSTED -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o mutex.o ../../../share/mutex.c
gcc -g -m64 -dynamiclib -undefined dynamic_lookup -Xlinker -compatibility_version -Xlinker 1.0.0 -Xlinker -current_version -Xlinker 1.0.0 -lc -lm boxedMemory.o boxedPointer.o c.o log.o platform.o relocation.o dataio.o mutex.o -o libhosted.dylib
mkdir -p ../../../generated/darwin
cp -f libhosted.dylib ../../../generated/darwin
mkdir -p build/darwin/substrate
cp -f substrate/substrate.mk build/darwin/substrate/makefile
(cd build/darwin/substrate; /usr/bin/make all)
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/jmm.c | sed 's/jmm\.o/& jmm.d/g' > jmm.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/signal.c | sed 's/signal\.o/& signal.d/g' > signal.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/sync.c | sed 's/sync\.o/& sync.d/g' > sync.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/jnitests.c | sed 's/jnitests\.o/& jnitests.d/g' > jnitests.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../share/virtualMemory.c | sed 's/virtualMemory\.o/& virtualMemory.d/g' > virtualMemory.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/trap.c | sed 's/trap\.o/& trap.d/g' > trap.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/time.c | sed 's/time\.o/& time.d/g' > time.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../share/threadLocals.c | sed 's/threadLocals\.o/& threadLocals.d/g' > threadLocals.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/threads.c | sed 's/threads\.o/& threads.d/g' > threads.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/snippet.c | sed 's/snippet\.o/& snippet.d/g' > snippet.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/runtime.c | sed 's/runtime\.o/& runtime.d/g' > runtime.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../share/dataio.c | sed 's/dataio\.o/& dataio.d/g' > dataio.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../share/relocation.c | sed 's/relocation\.o/& relocation.d/g' > relocation.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../share/mutex.c | sed 's/mutex\.o/& mutex.d/g' > mutex.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/memory.c | sed 's/memory\.o/& memory.d/g' > memory.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/maxine.c | sed 's/maxine\.o/& maxine.d/g' > maxine.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/jvm.c | sed 's/jvm\.o/& jvm.d/g' > jvm.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/jni.c | sed 's/jni\.o/& jni.d/g' > jni.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../platform/amd64.c | sed 's/amd64\.o/& amd64.d/g' > amd64.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../substrate/image.c | sed 's/image\.o/& image.d/g' > image.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../share/log.c | sed 's/log\.o/& log.d/g' > log.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../share/condition.c | sed 's/condition\.o/& condition.d/g' > condition.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate ../../../share/c.c | sed 's/c\.o/& c.d/g' > c.d
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o c.o ../../../share/c.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o condition.o ../../../share/condition.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o log.o ../../../share/log.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o image.o ../../../substrate/image.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o amd64.o ../../../platform/amd64.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o jni.o ../../../substrate/jni.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o jvm.o ../../../substrate/jvm.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o maxine.o ../../../substrate/maxine.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o memory.o ../../../substrate/memory.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o mutex.o ../../../share/mutex.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o relocation.o ../../../share/relocation.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o dataio.o ../../../share/dataio.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o runtime.o ../../../substrate/runtime.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o snippet.o ../../../substrate/snippet.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o threads.o ../../../substrate/threads.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o threadLocals.o ../../../share/threadLocals.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o time.o ../../../substrate/time.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o trap.o ../../../substrate/trap.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o virtualMemory.o ../../../share/virtualMemory.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o jnitests.o ../../../substrate/jnitests.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o sync.o ../../../substrate/sync.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o signal.o ../../../substrate/signal.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../platform -I ../../../share -I ../../../substrate -c -o jmm.o ../../../substrate/jmm.c
gcc -g -m64 -dynamiclib -undefined dynamic_lookup -Xlinker -compatibility_version -Xlinker 1.0.0 -Xlinker -current_version -Xlinker 1.0.0 -lc -lm c.o condition.o log.o image.o amd64.o jni.o jvm.o maxine.o memory.o mutex.o relocation.o dataio.o runtime.o snippet.o threads.o threadLocals.o time.o trap.o virtualMemory.o jnitests.o sync.o signal.o jmm.o -o libjvm.dylib
mkdir -p ../../../generated/darwin
cp -f libjvm.dylib ../../../generated/darwin
# The Mac OS X JDK libraries are linked against a library named libjvmlinkage.dylib.
if [ darwin = "darwin" ]; then \
rm ../../../generated/darwin/libjvm.dylib; \
cp libjvm.dylib ../../../generated/darwin/libjvmlinkage.dylib; \
fi
mkdir -p build/darwin/launch
cp -f launch/launch.mk build/darwin/launch/makefile
(cd build/darwin/launch; /usr/bin/make all)
gcc -M -DDARWIN -Damd64 -DLAUNCH -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../jni -I ../../../platform -I ../../../share -I ../../../substrate -I ../../../launch ../../../launch/maxvm.c | sed 's/maxvm\.o/& maxvm.d/g' > maxvm.d
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DLAUNCH -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../jni -I ../../../platform -I ../../../share -I ../../../substrate -I ../../../launch -c -o maxvm.o ../../../launch/maxvm.c
gcc -g -m64 -lc -lm -ldl -framework CoreFoundation -o maxvm maxvm.o
mkdir -p ../../../generated/darwin
cp -f ../../../build/darwin/launch/maxvm ../../../generated/darwin
# The command below was needed for JDK 1.6.0_17 on Mac OS X:
# if [ darwin = "darwin" ]; then ../../../../bin/mod-macosx-javalib.sh ../../../generated/darwin /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home; fi
mkdir -p build/darwin/tele
cp -f tele/tele.mk build/darwin/tele/makefile
(cd build/darwin/tele; /usr/bin/make all)
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/virtualMemory.c | sed 's/virtualMemory\.o/& virtualMemory.d/g' > virtualMemory.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/dataio.c | sed 's/dataio\.o/& dataio.d/g' > dataio.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/relocation.c | sed 's/relocation\.o/& relocation.d/g' > relocation.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../hosted/platform.c | sed 's/platform\.o/& platform.d/g' > platform.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../platform/amd64.c | sed 's/amd64\.o/& amd64.d/g' > amd64.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../substrate/threads.c | sed 's/threads\.o/& threads.d/g' > threads.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/threadLocals.c | sed 's/threadLocals\.o/& threadLocals.d/g' > threadLocals.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/mutex.c | sed 's/mutex\.o/& mutex.d/g' > mutex.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../tele/tele.c | sed 's/tele\.o/& tele.d/g' > tele.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/log.c | sed 's/log\.o/& log.d/g' > log.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../share/c.c | sed 's/c\.o/& c.d/g' > c.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../hosted/boxedPointer.c | sed 's/boxedPointer\.o/& boxedPointer.d/g' > boxedPointer.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../hosted/boxedMemory.c | sed 's/boxedMemory\.o/& boxedMemory.d/g' > boxedMemory.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../tele/darwin/auth.c | sed 's/auth\.o/& auth.d/g' > auth.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../tele/darwin/darwinTeleNativeThread.c | sed 's/darwinTeleNativeThread\.o/& darwinTeleNativeThread.d/g' > darwinTeleNativeThread.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../tele/darwin/darwinTeleProcess.c | sed 's/darwinTeleProcess\.o/& darwinTeleProcess.d/g' > darwinTeleProcess.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../tele/darwin/ptrace.c | sed 's/ptrace\.o/& ptrace.d/g' > ptrace.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../tele/darwin/darwin.c | sed 's/darwin\.o/& darwin.d/g' > darwin.d
gcc -M -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../tele/teleProcess.c | sed 's/teleProcess\.o/& teleProcess.d/g' > teleProcess.d
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o teleProcess.o ../../../tele/teleProcess.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o darwin.o ../../../tele/darwin/darwin.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o ptrace.o ../../../tele/darwin/ptrace.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o darwinTeleProcess.o ../../../tele/darwin/darwinTeleProcess.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o darwinTeleNativeThread.o ../../../tele/darwin/darwinTeleNativeThread.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o auth.o ../../../tele/darwin/auth.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o boxedMemory.o ../../../hosted/boxedMemory.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o boxedPointer.o ../../../hosted/boxedPointer.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o c.o ../../../share/c.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o log.o ../../../share/log.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o tele.o ../../../tele/tele.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o mutex.o ../../../share/mutex.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o threadLocals.o ../../../share/threadLocals.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o threads.o ../../../substrate/threads.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o amd64.o ../../../platform/amd64.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o platform.o ../../../hosted/platform.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o relocation.o ../../../share/relocation.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o dataio.o ../../../share/dataio.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DTELE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../tele -I ../../../tele/darwin -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o virtualMemory.o ../../../share/virtualMemory.c
gcc -g -m64 -dynamiclib -undefined dynamic_lookup -Xlinker -compatibility_version -Xlinker 1.0.0 -Xlinker -current_version -Xlinker 1.0.0 -lc -lm teleProcess.o darwin.o ptrace.o darwinTeleProcess.o darwinTeleNativeThread.o auth.o boxedMemory.o boxedPointer.o c.o log.o tele.o mutex.o threadLocals.o threads.o amd64.o platform.o relocation.o dataio.o virtualMemory.o -o libtele.dylib
mkdir -p ../../../generated/darwin
cp -f libtele.dylib ../../../generated/darwin
mkdir -p build/darwin/javatest
cp -f javatest/javatest.mk build/darwin/javatest/makefile
(cd build/darwin/javatest; /usr/bin/make all)
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../javatest -I ../../../jni -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../substrate/jnitests.c | sed 's/jnitests\.o/& jnitests.d/g' > jnitests.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../javatest -I ../../../jni -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../substrate/threads.c | sed 's/threads\.o/& threads.d/g' > threads.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../javatest -I ../../../jni -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../javatest/tests.c | sed 's/tests\.o/& tests.d/g' > tests.d
gcc -M -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../javatest -I ../../../jni -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate ../../../javatest/jvmni.c | sed 's/jvmni\.o/& jvmni.d/g' > jvmni.d
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../javatest -I ../../../jni -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o jvmni.o ../../../javatest/jvmni.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../javatest -I ../../../jni -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o tests.o ../../../javatest/tests.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../javatest -I ../../../jni -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o threads.o ../../../substrate/threads.c
gcc -g -m64 -Wall -Wextra -Werror -Wno-main -Wno-unused-parameter -fPIC -DDARWIN -Damd64 -DSUBSTRATE -Dw64 -I /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ -DJNI_H_PATH=\"/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h\" -I ../../../javatest -I ../../../jni -I ../../../platform -I ../../../hosted -I ../../../share -I ../../../substrate -c -o jnitests.o ../../../substrate/jnitests.c
gcc -g -m64 -dynamiclib -undefined dynamic_lookup -Xlinker -compatibility_version -Xlinker 1.0.0 -Xlinker -current_version -Xlinker 1.0.0 -lc -lm jvmni.o tests.o threads.o jnitests.o -o libjavatest.dylib
mkdir -p ../../../generated/darwin
cp -f libjavatest.dylib ../../../generated/darwin
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.base/src...
** If behind a firewall without direct internet access, use the HTTP_PROXY environment variable (e.g. 'env HTTP_PROXY=proxy.company.com:80 max ...') or download manually with a web browser.
Downloading http://repo1.maven.org/maven2/junit/junit/4.8/junit-4.8.jar to /Users/rednaxelafx/.maxine/junit-4.8.jar
236674 bytes ( 100%)
Note: ./com/sun/max/profile/GlobalMetrics.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.base/test...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.cri/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.asm/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vm/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vm/test...
Note: ./test/output/RunFinalizersOnExit.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vm/demo...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.c1x/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.asmdis/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.asmdis/test...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.hcfdis/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vm.ext.c1x/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vm.ext.c1x/test...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vm.ext.t1x/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vmdi/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.jdwp/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.shell/....
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vm.ext.vma/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vm.ext.vma/test...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.elf/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.tele.vm/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.tele.vm/test...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vma.tools/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.tele.ins/src...
Note: ./com/sun/max/ins/view/InspectionViews.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.tele.ins/test...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.tele.jdwp/src...
Compiling Java sources in /Users/rednaxelafx/build/maxine/com.oracle.max.vm.ext.bctrans/src...
Kriss-MacBook-Air:maxine rednaxelafx$ max image
======================== VM Configuration ========================
Build level: PRODUCT
Reference scheme: com.sun.max.vm.reference.direct.DirectReferenceScheme
Layout scheme: com.sun.max.vm.layout.ohm.OhmLayoutScheme
Monitor scheme: com.sun.max.vm.monitor.modal.schemes.thin_inflated.ThinInflatedMonitorScheme
Heap scheme: com.sun.max.vm.heap.sequential.semiSpace.SemiSpaceHeapScheme
Compilation scheme: com.sun.max.vm.compiler.adaptive.AdaptiveCompilationScheme [opt=C1X, baseline=T1X]
Run scheme: com.sun.max.vm.run.java.JavaRunScheme
JDK: 1.6.0_26
==================================================================
<Trace 1> loading: com.sun.max.vm.reference.direct
<Trace 1> loading: com.sun.max.vm.layout.ohm
<Trace 1> loading: com.sun.max.vm.heap.sequential.semiSpace
<Trace 1> loading: com.sun.max.vm.monitor.modal.schemes.thin_inflated
<Trace 1> loading: com.sun.max.vm.compiler.adaptive
<Trace 1> loading: com.sun.max.vm.run.java
<Trace 1> Substitutee for private java.lang.Class com.sun.max.vm.jdk.JDK_java_lang_ClassLoader.defineClass1(java.lang.String,byte[],int,int,java.security.ProtectionDomain,java.lang.String) not found - skipping
<Trace 1> Substitutee for private java.lang.Class com.sun.max.vm.jdk.JDK_java_lang_ClassLoader.defineClass2(java.lang.String,java.nio.ByteBuffer,int,int,java.security.ProtectionDomain,java.lang.String) not found - skipping
<Trace 1> loading: com.oracle.max.asm
<Trace 1> loading: com.oracle.max.asm.target.amd64
<Trace 1> loading: com.oracle.max.vm.ext.vma
<Trace 1> loading: com.oracle.max.vm.ext.vma.log
<Trace 1> loading: com.oracle.max.vm.ext.vma.log.debug
<Trace 1> loading: com.oracle.max.vm.ext.vma.log.dup
<Trace 1> loading: com.oracle.max.vm.ext.vma.log.txt
<Trace 1> loading: com.oracle.max.vm.ext.vma.log.txt.sbps
<Trace 1> loading: com.oracle.max.vm.ext.vma.options
<Trace 1> loading: com.oracle.max.vm.ext.vma.runtime
<Trace 1> loading: com.sun.c1x
<Trace 1> loading: com.sun.c1x.alloc
<Trace 1> loading: com.sun.c1x.asm
<Trace 1> loading: com.sun.c1x.debug
<Trace 1> loading: com.sun.c1x.gen
<Trace 1> loading: com.sun.c1x.graph
<Trace 1> loading: com.sun.c1x.ir
<Trace 1> loading: com.sun.c1x.lir
<Trace 1> loading: com.sun.c1x.observer
<Trace 1> loading: com.sun.c1x.opt
<Trace 1> loading: com.sun.c1x.stub
<Trace 1> loading: com.sun.c1x.target
<Trace 1> loading: com.sun.c1x.target.amd64
<Trace 1> loading: com.sun.c1x.target.sparc
<Trace 1> loading: com.sun.c1x.util
<Trace 1> loading: com.sun.c1x.value
<Trace 1> loading: com.sun.cri
WARNING: no classes found in package: com.sun.cri
<Trace 1> loading: com.sun.cri.bytecode
<Trace 1> loading: com.sun.cri.ci
<Trace 1> loading: com.sun.cri.ri
<Trace 1> loading: com.sun.cri.xir
<Trace 1> loading: com.sun.max
<Trace 1> loading: com.sun.max.annotate
<Trace 1> loading: com.sun.max.atomic
<Trace 1> loading: com.sun.max.collect
<Trace 1> loading: com.sun.max.config
<Trace 1> loading: com.sun.max.config.base
<Trace 1> loading: com.sun.max.config.c1x
<Trace 1> loading: com.sun.max.config.jdk
<Trace 1> loading: com.sun.max.config.jdk7
<Trace 1> loading: com.sun.max.config.test
<Trace 1> loading: com.sun.max.config.vm
<Trace 1> loading: com.sun.max.config.vma
<Trace 1> loading: com.sun.max.io
<Trace 1> loading: com.sun.max.lang
<Trace 1> loading: com.sun.max.memory
<Trace 1> loading: com.sun.max.platform
<Trace 1> loading: com.sun.max.profile
<Trace 1> loading: com.sun.max.program
<Trace 1> loading: com.sun.max.program.option
<Trace 1> loading: com.sun.max.unsafe
<Trace 1> loading: com.sun.max.util
<Trace 1> loading: com.sun.max.util.timer
<Trace 1> loading: com.sun.max.vm
<Trace 1> loading: com.sun.max.vm.actor
<Trace 1> loading: com.sun.max.vm.actor.holder
<Trace 1> loading: com.sun.max.vm.actor.member
<Trace 1> loading: com.sun.max.vm.bytecode
<Trace 1> loading: com.sun.max.vm.bytecode.graft
<Trace 1> loading: com.sun.max.vm.bytecode.refmaps
<Trace 1> loading: com.sun.max.vm.bytecode.transform
<Trace 1> loading: com.sun.max.vm.classfile
<Trace 1> loading: com.sun.max.vm.classfile.constant
<Trace 1> loading: com.sun.max.vm.classfile.stackmap
<Trace 1> loading: com.sun.max.vm.code
<Trace 1> loading: com.sun.max.vm.collect
<Trace 1> loading: com.sun.max.vm.compiler
<Trace 1> loading: com.sun.max.vm.compiler.adaptive
<Trace 1> loading: com.sun.max.vm.compiler.c1x
<Trace 1> loading: com.sun.max.vm.compiler.deopt
<Trace 1> loading: com.sun.max.vm.compiler.deps
<Trace 1> loading: com.sun.max.vm.compiler.target
<Trace 1> loading: com.sun.max.vm.compiler.target.amd64
<Trace 1> loading: com.sun.max.vm.debug
<Trace 1> loading: com.sun.max.vm.heap
<Trace 1> loading: com.sun.max.vm.heap.sequential
<Trace 1> loading: com.sun.max.vm.heap.sequential.semiSpace
<Trace 1> loading: com.sun.max.vm.instrument
<Trace 1> loading: com.sun.max.vm.jdk
<Trace 1> loading: com.sun.max.vm.jdk.unix
<Trace 1> loading: com.sun.max.vm.jni
<Trace 1> loading: com.sun.max.vm.jvmti
no classes found in package: com.sun.max.vm.jvmti
<Trace 1> loading: com.sun.max.vm.layout
<Trace 1> loading: com.sun.max.vm.layout.ohm
<Trace 1> loading: com.sun.max.vm.management
<Trace 1> loading: com.sun.max.vm.monitor
<Trace 1> loading: com.sun.max.vm.monitor.modal
<Trace 1> loading: com.sun.max.vm.monitor.modal.modehandlers
<Trace 1> loading: com.sun.max.vm.monitor.modal.modehandlers.inflated
<Trace 1> loading: com.sun.max.vm.monitor.modal.modehandlers.lightweight
<Trace 1> loading: com.sun.max.vm.monitor.modal.modehandlers.lightweight.biased
<Trace 1> loading: com.sun.max.vm.monitor.modal.modehandlers.lightweight.thin
<Trace 1> loading: com.sun.max.vm.monitor.modal.modehandlers.observer
<Trace 1> loading: com.sun.max.vm.monitor.modal.schemes
<Trace 1> loading: com.sun.max.vm.monitor.modal.schemes.thin_inflated
<Trace 1> loading: com.sun.max.vm.monitor.modal.sync
<Trace 1> loading: com.sun.max.vm.monitor.modal.sync.nat
<Trace 1> loading: com.sun.max.vm.object
<Trace 1> loading: com.sun.max.vm.profile
<Trace 1> loading: com.sun.max.vm.profilers.sampling
<Trace 1> loading: com.sun.max.vm.reference
<Trace 1> loading: com.sun.max.vm.reference.direct
<Trace 1> loading: com.sun.max.vm.reflection
<Trace 1> loading: com.sun.max.vm.run
<Trace 1> loading: com.sun.max.vm.run.java
<Trace 1> loading: com.sun.max.vm.runtime
<Trace 1> loading: com.sun.max.vm.runtime.amd64
<Trace 1> loading: com.sun.max.vm.stack
<Trace 1> loading: com.sun.max.vm.stack.amd64
<Trace 1> loading: com.sun.max.vm.t1x
<Trace 1> loading: com.sun.max.vm.tele
<Trace 1> loading: com.sun.max.vm.test
<Trace 1> loading: com.sun.max.vm.thread
<Trace 1> loading: com.sun.max.vm.type
<Trace 1> loading: com.sun.max.vm.value
<Trace 1> loading: com.sun.max.vm.verifier
<Trace 1> loading: com.sun.max.vm.verifier.types
<Trace 1> loading: java.io
<Trace 1> loading: java.lang
<Trace 1> loading: java.lang.ref
<Trace 1> loading: java.lang.reflect
<Trace 1> loading: java.nio
<Trace 1> loading: java.nio.charset
<Trace 1> loading: java.security
<Trace 1> loading: java.text
<Trace 1> loading: java.util
<Trace 1> loading: java.util.concurrent.atomic
<Trace 1> loading: java.util.concurrent.locks
<Trace 1> loading: java.util.jar
<Trace 1> loading: java.util.regex
<Trace 1> loading: java.util.zip
<Trace 1> loading: sun.misc
<Trace 1> loading: sun.nio.cs
<Trace 1> loading: sun.reflect
<Trace 1> loading: sun.security.action
<Trace 1> BEGIN: gatherObjects
<Trace 1> gatherObjects: 100000
<Trace 1> gatherObjects: 200000
<Trace 1> gatherObjects: 300000
<Trace 1> gatherObjects: 400000
<Trace 1> gatherObjects: 500000
<Trace 1> END: gatherObjects: 522739 objects
<Trace 1> BEGIN: creating T1X templates from com.sun.max.vm.t1x.T1XTemplateSource
<Trace 1> END: creating T1X templates from com.sun.max.vm.t1x.T1XTemplateSource [templates code size: 11200] (1615ms)
<Trace 1> # compiler threads:4
<Trace 1> BEGIN: gatherNewClasses
<Trace 1> END: gatherNewClasses
<Trace 1> BEGIN: processNewClasses 2745
<Trace 1> END: processNewClasses
<Trace 1> BEGIN: compile: 412 new methods
<Trace 1> compiled: 200 (1554 methods)
<Trace 1> compiled: 400 (1654 methods)
<Trace 1> compiled: 600 (2061 methods)
<Trace 1> compiled: 800 (2374 methods)
<Trace 1> compiled: 1000 (2741 methods)
<Trace 1> compiled: 1200 (2872 methods)
<Trace 1> compiled: 1400 (3136 methods)
<Trace 1> compiled: 1600 (3355 methods)
<Trace 1> compiled: 1800 (3430 methods)
<Trace 1> compiled: 2000 (3788 methods)
<Trace 1> compiled: 2200 (3991 methods)
<Trace 1> compiled: 2400 (4273 methods)
<Trace 1> compiled: 2600 (4401 methods)
<Trace 1> compiled: 2800 (4635 methods)
<Trace 1> compiled: 3000 (4848 methods)
<Trace 1> compiled: 3200 (5053 methods)
<Trace 1> compiled: 3400 (5261 methods)
<Trace 1> compiled: 3600 (5326 methods)
<Trace 1> compiled: 3800 (5594 methods)
<Trace 1> compiled: 4000 (5841 methods)
<Trace 1> compiled: 4200 (5987 methods)
<Trace 1> compiled: 4400 (7241 methods)
<Trace 1> compiled: 4600 (7687 methods)
<Trace 1> compiled: 4800 (7919 methods)
<Trace 1> compiled: 5000 (8032 methods)
<Trace 1> compiled: 5200 (8193 methods)
<Trace 1> compiled: 5400 (8396 methods)
<Trace 1> compiled: 5600 (8440 methods)
<Trace 1> compiled: 5800 (8453 methods)
<Trace 1> compiled: 6000 (8476 methods)
<Trace 1> compiled: 6200 (8484 methods)
<Trace 1> compiled: 6400 (8525 methods)
<Trace 1> compiled: 6600 (8528 methods)
<Trace 1> compiled: 6800 (8630 methods)
<Trace 1> compiled: 7000 (8684 methods)
<Trace 1> compiled: 7200 (8930 methods)
<Trace 1> compiled: 7400 (9180 methods)
<Trace 1> compiled: 7600 (9300 methods)
<Trace 1> compiled: 7800 (9392 methods)
<Trace 1> compiled: 8000 (9637 methods)
<Trace 1> compiled: 8200 (9795 methods)
<Trace 1> compiled: 8400 (10104 methods)
<Trace 1> compiled: 8600 (10333 methods)
<Trace 1> compiled: 8800 (10541 methods)
<Trace 1> compiled: 9000 (10982 methods)
<Trace 1> compiled: 9200 (11081 methods)
<Trace 1> compiled: 9400 (11314 methods)
<Trace 1> compiled: 9600 (11473 methods)
<Trace 1> compiled: 9800 (11680 methods)
<Trace 1> compiled: 10000 (11810 methods)
<Trace 1> compiled: 10200 (11942 methods)
<Trace 1> compiled: 10400 (11999 methods)
<Trace 1> compiled: 10600 (12112 methods)
<Trace 1> END: new compilations: 10725
<Trace 1> BEGIN: gatherNewClasses
<Trace 1> END: gatherNewClasses
<Trace 1> BEGIN: processNewClasses 80
<Trace 1> END: processNewClasses
<Trace 1> BEGIN: compile: 5 new methods
<Trace 1> END: new compilations: 5
<Trace 1> BEGIN: gatherNewClasses
<Trace 1> END: gatherNewClasses
<Trace 1> BEGIN: processNewClasses 0
<Trace 1> END: processNewClasses
<Trace 1> BEGIN: compile: 0 new methods
<Trace 1> END: new compilations: 0
<Trace 1> BEGIN: gatherObjects
<Trace 1> gatherObjects: 100000
<Trace 1> gatherObjects: 200000
<Trace 1> gatherObjects: 300000
<Trace 1> gatherObjects: 400000
<Trace 1> gatherObjects: 500000
<Trace 1> gatherObjects: 600000
<Trace 1> END: gatherObjects: 640883 objects
<Trace 1> BEGIN: compiling foldable methods
<Trace 1> BEGIN: compile: 153 new methods
<Trace 1> compiled: 10800 (12381 methods)
<Trace 1> END: new compilations: 162
<Trace 1> END: compiling foldable methods
<Trace 1> BEGIN: gatherNewClasses
<Trace 1> END: gatherNewClasses
<Trace 1> BEGIN: processNewClasses 53
<Trace 1> END: processNewClasses
<Trace 1> BEGIN: compile: 0 new methods
<Trace 1> END: new compilations: 0
<Trace 1> BEGIN: compiling foldable methods
<Trace 1> BEGIN: compile: 0 new methods
<Trace 1> END: new compilations: 0
<Trace 1> END: compiling foldable methods
<Trace 1> BEGIN: resolving alias annotations
<Trace 1> END: resolving alias annotations
<Trace 1> BEGIN: checking methods that must be compiled
<Trace 1> END: checking methods that must be compiled
<Trace 1> BEGIN: linkNonVirtualCalls
<Trace 1> END: linkNonVirtualCalls
<Trace 1> BEGIN: linkVTableEntries
<Trace 1> END: linkVTableEntries
<Trace 1> BEGIN: linkITableEntries
<Trace 1> END: linkITableEntries
<Trace 1> BEGIN: gatherObjects
<Trace 1> gatherObjects: 100000
<Trace 1> gatherObjects: 200000
<Trace 1> gatherObjects: 300000
<Trace 1> gatherObjects: 400000
<Trace 1> gatherObjects: 500000
<Trace 1> gatherObjects: 600000
<Trace 1> END: gatherObjects: 644296 objects
<Trace 1> BEGIN: DataPrototype
<Trace 1> BEGIN: assignCodeCells
<Trace 1> END: assignCodeCells: 12101 target methods
<Trace 1> BEGIN: assignMutableHeapCells:
<Trace 1> : 200000
<Trace 1> END: assignMutableHeapCells: 303843 heap objects, 28462040 bytes
<Trace 1> BEGIN: createHeapReferenceMap:
<Trace 1> : 100000
<Trace 1> : 200000
<Trace 1> : 300000
<Trace 1> END: createHeapReferenceMap: width=3557760, cardinality=2248380, size=444720, #special references=132
<Trace 1> BEGIN: assignImmutableHeapCells:
<Trace 1> : 200000
<Trace 1> END: assignImmutableHeapCells: 322023 heap objects, 20410536 bytes
<Trace 1> BEGIN: adjustMemoryRegions
<Trace 1> END: adjustMemoryRegions
<Trace 1> BEGIN: createData: heap
<Trace 1> createData - objects: 0, bytes: 882288
<Trace 1> createData - objects: 10000, bytes: 1783368
<Trace 1> createData - objects: 20000, bytes: 2681272
<Trace 1> createData - objects: 30000, bytes: 3596344
<Trace 1> createData - objects: 40000, bytes: 4510288
<Trace 1> createData - objects: 50000, bytes: 5439872
<Trace 1> createData - objects: 60000, bytes: 6352952
<Trace 1> createData - objects: 70000, bytes: 7269328
<Trace 1> createData - objects: 80000, bytes: 8153488
<Trace 1> createData - objects: 90000, bytes: 8999632
<Trace 1> createData - objects: 100000, bytes: 9851768
<Trace 1> createData - objects: 110000, bytes: 10774408
<Trace 1> createData - objects: 120000, bytes: 11724392
<Trace 1> createData - objects: 130000, bytes: 12625096
<Trace 1> createData - objects: 140000, bytes: 13613608
<Trace 1> createData - objects: 150000, bytes: 15187584
<Trace 1> createData - objects: 160000, bytes: 16086160
<Trace 1> createData - objects: 170000, bytes: 17054128
<Trace 1> createData - objects: 180000, bytes: 17924560
<Trace 1> createData - objects: 190000, bytes: 18967904
<Trace 1> createData - objects: 200000, bytes: 19888808
<Trace 1> createData - objects: 210000, bytes: 20837320
<Trace 1> createData - objects: 220000, bytes: 21792960
<Trace 1> createData - objects: 230000, bytes: 22692240
<Trace 1> createData - objects: 240000, bytes: 23619528
<Trace 1> createData - objects: 250000, bytes: 24505368
<Trace 1> createData - objects: 260000, bytes: 25445776
<Trace 1> createData - objects: 270000, bytes: 26353192
<Trace 1> createData - objects: 280000, bytes: 27245664
<Trace 1> createData - objects: 290000, bytes: 28136592
<Trace 1> createData - objects: 300000, bytes: 28778304
<Trace 1> createData - objects: 310000, bytes: 29400480
<Trace 1> createData - objects: 320000, bytes: 30578080
<Trace 1> createData - objects: 330000, bytes: 31210864
<Trace 1> createData - objects: 340000, bytes: 31827192
<Trace 1> createData - objects: 350000, bytes: 32460512
<Trace 1> createData - objects: 360000, bytes: 33096384
<Trace 1> createData - objects: 370000, bytes: 33775544
<Trace 1> createData - objects: 380000, bytes: 34418696
<Trace 1> createData - objects: 390000, bytes: 35015112
<Trace 1> createData - objects: 400000, bytes: 35653152
<Trace 1> createData - objects: 410000, bytes: 36313744
<Trace 1> createData - objects: 420000, bytes: 36917296
<Trace 1> createData - objects: 430000, bytes: 37538248
<Trace 1> createData - objects: 440000, bytes: 38179496
<Trace 1> createData - objects: 450000, bytes: 38827552
<Trace 1> createData - objects: 460000, bytes: 39440216
<Trace 1> createData - objects: 470000, bytes: 40101000
<Trace 1> createData - objects: 480000, bytes: 40808648
<Trace 1> createData - objects: 490000, bytes: 41461792
<Trace 1> createData - objects: 500000, bytes: 42091496
<Trace 1> createData - objects: 510000, bytes: 42726136
<Trace 1> createData - objects: 520000, bytes: 43326408
<Trace 1> createData - objects: 530000, bytes: 43943560
<Trace 1> createData - objects: 540000, bytes: 44586784
<Trace 1> createData - objects: 550000, bytes: 45196672
<Trace 1> createData - objects: 560000, bytes: 45806520
<Trace 1> createData - objects: 570000, bytes: 46425432
<Trace 1> createData - objects: 580000, bytes: 47045264
<Trace 1> createData - objects: 590000, bytes: 47398664
<Trace 1> createData - objects: 600000, bytes: 48008960
<Trace 1> createData - objects: 610000, bytes: 48689144
<Trace 1> createData - objects: 620000, bytes: 49319936
<Trace 1> END: createData: heap
<Trace 1> BEGIN: createData: code
<Trace 1> createData - objects: 0, bytes: 2933512
<Trace 1> createData - objects: 10000, bytes: 6041464
<Trace 1> END: createData: code
<Trace 1> BEGIN: assignRelocationFlags
<Trace 1> BEGIN: assignObjectRelocationFlags: heap
<Trace 1> END: assignObjectRelocationFlags - heap relocations: 3100698
<Trace 1> BEGIN: assignObjectRelocationFlags: code
<Trace 1> END: assignObjectRelocationFlags - code relocations: 52583
<Trace 1> BEGIN: assignMethodDispatchTableRelocationFlags
<Trace 1> END: assignMethodDispatchTableRelocationFlags
<Trace 1> BEGIN: assignTargetMethodRelocationFlags
<Trace 1> END: assignTargetMethodRelocationFlags
<Trace 1> END: assignRelocationFlags
<Trace 1> END: DataPrototype
<Trace 1> BEGIN: writing boot image jar file: /Users/rednaxelafx/build/maxine/com.oracle.max.vm.native/generated/darwin/maxine.jar
<Trace 1> END: end boot image jar file: /Users/rednaxelafx/build/maxine/com.oracle.max.vm.native/generated/darwin/maxine.jar (4M)
<Trace 1> BEGIN: writing boot image file: /Users/rednaxelafx/build/maxine/com.oracle.max.vm.native/generated/darwin/maxine.vm
<Trace 1> END: end boot image file: /Users/rednaxelafx/build/maxine/com.oracle.max.vm.native/generated/darwin/maxine.vm (53M)
<Trace 1> Total time: 56.681 seconds
Kriss-MacBook-Air:maxine rednaxelafx$ max helloworld
Hello World!
Kriss-MacBook-Air:maxine rednaxelafx$ max help
Maxine Launcher
available commands:
build compile the Maxine Java and C sources, linking the latter
c1x process a list of methods with the C1X compiler
check run Checkstyle on the Maxine Java sources
clean Remove all class files, images, and executables
configs prints the predefined image configurations
copycheck run copyright check on the Maxine sources (defined as being under hg control)
copyvm copy the VM files to a specified directory
core inspect a core file with the Inspector
dis preprocess class files with the Maxine VM and disassemble the result with javap
eclipse launch Eclipse with the Maxine VM
eclipseprojects (re)generate Eclipse project configurations
gate run the tests used to validate a push to the stable Maxine repository
hcfdis disassembles HexCodeFiles embedded in text files
helloworld run a basic 'hello world' program on the Maxine VM
help show help for a given command
image build a boot image
inspect launch a given program under the Inspector
inspectoragent launch the Inspector agent
javadoc run javadoc over the Maxine Java source files
javap launch javap with a -classpath option denoting all the Maxine classes
jnigen (re)generate content in JniFunctions.java from JniFunctionsSource.java
jrockitbm run the jrockit benchmark suite
jtest run the Java Tester
jtt run the JTMaxine program in the Maxine VM
jttgen (re)generate harness and run scheme for the JavaTester tests
makejdk create a JDK directory based on the Maxine VM
methodtree print the causality spanning-tree of the method graph in the boot image
msgate run the GC tests using the MS heap scheme
nm print the contents of a boot image
objecttree print the causality spanning-tree of the object graph in the boot image
projects show contents of all projects.properties files
test run some or all of the Maxine tests
verify verifies a set of methods using the Maxine bytecode verifier
view browse the boot image under the Inspector
vm launch the Maxine VM
global options:
-v enable verbose output
-d enable debug output
-h show launcher help
-cp/p:<arg> class path prefix
-cp/a:<arg> class path suffix
-vmdir <path> directory for VM executable, shared libraries boot image and related files
(default: /Users/rednaxelafx/build/maxine/com.oracle.max.vm.native/generated/darwin)
-java_home <path> JDK installation directory (must be JDK 6 or later)
(default: value of the JAVA_HOME environment variable)
-jvm <path> Java VM executable (default: bin/java under JAVA_HOME)
-dbgport <num> add following to Java VM arguments to enable attaching a debugger:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=<num>
-dbg alias for '-dbgport 8000'
-J<args> Java VM arguments (default: -d64 -ea -Xss2m -Xmx1g)
-J/p<args> prefix Java VM arguments
-J/a<args> suffix Java VM arguments
-maxine <path> base directory of the Maxine code base
(default: /Users/rednaxelafx/build/maxine)
-make <path> path to GNU make executable (default: /usr/bin/make)
-os osname operating system hosting the VM (all lower case) for remote inspecting
Kriss-MacBook-Air:maxine rednaxelafx$ max help inspect
max inspect [options] [class | -jar jarfile] [args...]
launch a given program under the Inspector
Run Maxine under the Inspector. The arguments accepted by this command
are those accepted by the 'max vm' command plus the Inspector specific
options. To debug a program in the Inspector, simply replace 'vm' on the
command line that launches the program with 'inspect'.
Use "max inspect --help" to see what the Inspector options are. These options
must be specified with a '--' prefix so that they can be distinguished from
the VM options.
The inspect command also accepts the same system property related options
as the 'image' command except that a '--' prefix must be used (e.g.
'--os Darwin --bits 32'). Use "max help image" for more detail.
Use "max vm -help" to see what the VM options are.
Kriss-MacBook-Air:maxine rednaxelafx$ max inspect vm -cp com.oracle.max.vm/bin test.output.GCTest2
Debugging is a privileged operation on Mac OS X.
Please enter your 'sudo' password:
Maxine Inspector WARNING: [InspectionSettings] Settings in obsolete format ignored
Maxine Inspector WARNING: Ignoring breakpoints related to a different boot image
Kriss-MacBook-Air:maxine rednaxelafx$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment