Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/questdb/questdb
/ allocateMemory
Method
allocateMemory
core/src/main/java/io/questdb/std/Unsafe.java:64–66 ·
view source on GitHub ↗
(long size)
Source
from the content-addressed store, hash-verified
62
}
63
64
public
static
long allocateMemory(long size) {
65
return
UNSAFE.allocateMemory(size);
66
}
67
68
public
static
int
arrayBaseOffset(Class<?> arrayClass) {
69
return
UNSAFE.arrayBaseOffset(arrayClass);
Callers
10
testRejectsFrameWithNonServerInfoMsgKind
Method · 0.95
testRejectsTruncatedFrame
Method · 0.95
encodeAndDecodeWithZone
Method · 0.95
runPureReadBenchmark
Method · 0.95
testConcurrentOpenClose
Method · 0.95
testSetMemoryShuffleToCsv
Method · 0.95
mallocBuffer
Method · 0.95
malloc
Method · 0.45
constructNativeAllocator
Method · 0.45
Unsafe
Class · 0.45
Calls
no outgoing calls
Tested by
5
testRejectsFrameWithNonServerInfoMsgKind
Method · 0.76
testRejectsTruncatedFrame
Method · 0.76
encodeAndDecodeWithZone
Method · 0.76
runPureReadBenchmark
Method · 0.76
testConcurrentOpenClose
Method · 0.76