Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 357641f

Browse filesBrowse files
author
hborders
committed
Removed methods unused by TeleInterpreter.
1 parent 7240de2 commit 357641f
Copy full SHA for 357641f

1 file changed

-17Lines changed: 0 additions & 17 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎JavaInJava/src/com/sun/max/vm/object/ObjectAccess.java‎

Copy file name to clipboardExpand all lines: JavaInJava/src/com/sun/max/vm/object/ObjectAccess.java
-17Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
package com.sun.max.vm.object;
2222

2323
import static com.sun.cri.bytecode.Bytecodes.*;
24-
import static com.sun.max.vm.MaxineVM.*;
2524

2625
import java.lang.reflect.*;
2726
import java.nio.*;
@@ -158,20 +157,4 @@ public static int makeHashCode(Object object) {
158157
public static Size size(Object object) {
159158
return Layout.size(Reference.fromJava(object));
160159
}
161-
162-
@INTRINSIC(UNSAFE_CAST)
163-
private static native ObjectAccess asThis(Object buffer);
164-
165-
@ALIAS(declaringClassName = "java.nio.DirectByteBuffer", name = "<init>")
166-
private native void init(long addr, int capacity);
167-
168-
/**
169-
* Creates a new instance of the package private class java.nio.DirectByteBuffer.
170-
*/
171-
public static ByteBuffer createDirectByteBuffer(long address, int capacity) {
172-
Object buffer = Heap.createTuple(DirectByteBuffer.dynamicHub());
173-
asThis(buffer).init(address, capacity);
174-
ByteBuffer directBuffer = (ByteBuffer) buffer;
175-
return directBuffer;
176-
}
177160
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.