[vmkit-commits] [vmkit] r197894 - begin the implementation of unsafe

Gael Thomas gael.thomas at lip6.fr
Sun Dec 22 13:36:18 PST 2013


Author: gthomas
Date: Sun Dec 22 15:36:17 2013
New Revision: 197894

URL: http://llvm.org/viewvc/llvm-project?rev=197894&view=rev
Log:
begin the implementation of unsafe

Added:
    vmkit/branches/mcjit/lib/j3/openjdk/j3unsafe.cc

Added: vmkit/branches/mcjit/lib/j3/openjdk/j3unsafe.cc
URL: http://llvm.org/viewvc/llvm-project/vmkit/branches/mcjit/lib/j3/openjdk/j3unsafe.cc?rev=197894&view=auto
==============================================================================
--- vmkit/branches/mcjit/lib/j3/openjdk/j3unsafe.cc (added)
+++ vmkit/branches/mcjit/lib/j3/openjdk/j3unsafe.cc Sun Dec 22 15:36:17 2013
@@ -0,0 +1,10 @@
+#include "j3/j3jni.h"
+#include "j3/j3object.h"
+
+using namespace j3;
+
+extern "C" {
+	JNIEXPORT void JNICALL Java_sun_misc_Unsafe_registerNatives(J3Object*) {
+		// Nothing, we define the Unsafe methods with the expected signatures.
+	}
+}





More information about the vmkit-commits mailing list