boolean endOfStream) {
if (bufferPtr != 0) DBBPool.registerUnsafeMemory(bufferPtr);
ExportManager instance = instance();
try {
ExportGeneration generation = instance.m_generations.get(exportGeneration);
<BUG>if (generation == null) {
DBBPool.wrapBB(buffer).discard();
synchronized(instance) {</BUG>
if (!instance.m_generationGhosts.contains(exportGeneration)) {
assert(false);

boolean endOfStream) {
if (bufferPtr != 0) DBBPool.registerUnsafeMemory(bufferPtr);
ExportManager instance = instance();
try {
ExportGeneration generation = instance.m_generations.get(exportGeneration);
if (generation == null) {
if (buffer != null) {
DBBPool.wrapBB(buffer).discard();
}
synchronized(instance) {
if (!instance.m_generationGhosts.contains(exportGeneration)) {
assert(false);
