The Jenkins Controller is preparing for shutdown. No new builds can be started.
Commit
ebe187fca62695b7631bfc67cb415d4e05c37456
by Sven Gothel Bump semver to 0.9.30-SNAPSHOT of jogamp branch, incl. commit 9cdb6bbf6d3248a65aa78ced08211d609c356f91 commit 9cdb6bbf6d3248a65aa78ced08211d609c356f91 fixes the tests of the Class, Field and Method accessor bit for compatibility. The file was modified make/lib/semantic-versioning/semver-src.zip (diff) The file was modified make/lib/semantic-versioning/semver.jar (diff) The file was modified make/lib/semantic-versioning/README.md (diff) The file was modified make/lib/semantic-versioning/VERSION (diff)
Commit
1350823035597f784f9cf871aa487f896f3d1840
by Sven Gothel IOUtil: Fix API doc; getTempDir(..) shall throw IOException instead of RuntimeException for IO failures - Fix API doc - copy*() methods only close stream they open, no need to mention the proper behavior (obvious). - getTempDir(..) shall throw IOException instead of RuntimeException for IO failures - Ease using getTempDir(..), i.e. only handle IOException The file was modified src/java/com/jogamp/common/util/IOUtil.java (diff)
Commit
ae17a5895088e321bc373318cc1e144a2f822f29
by Sven Gothel Bug 1080 - Add read support for memory mapped big file I/O via specialized InputStream impl., incl. mark/reset - ByteBufferInputStream simply impl. InputStream for an arbitrary 2MiB restricted ByteBuffer - Users may only need a smaller implementation for 'smaller' file sizes or for streaming a [native] ByteBuffer. - MappedByteBufferInputStream impl. InputStream for any file size, while slicing the total size to memory mapped buffers via the given FileChannel. The latter are mapped lazily and diff. flush/cache methods are supported to ease virtual memory usage. - TestByteBufferInputStream: Basic unit test for basic functionality and perf. stats. The file was added src/java/com/jogamp/common/nio/MappedByteBufferInputStream.java (diff) The file was added src/java/com/jogamp/common/nio/ByteBufferInputStream.java (diff) The file was modified make/scripts/runtest.sh (diff) The file was added src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java (diff) The file was modified src/junit/com/jogamp/junit/sec/TestSecIOUtil01.java (diff) The file was modified src/junit/com/jogamp/junit/sec/Applet01.java (diff) The file was modified src/java/com/jogamp/common/nio/MappedByteBufferInputStream.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java (diff)
Commit
92a6d2c1476fd562721f231f89afba9342ed8a20
by Sven Gothel Bug 1080 - Add write support for memory mapped big file I/O via specialized OutputStream impl. Added MappedByteBufferOutputStream as a child instance of MappedByteBufferInputStream, since the latter already manages the file's mapped buffer slices. Current design is: - MappedByteBufferInputStream (parent) - MappedByteBufferOutputStream this is due to InputStream and OutputStream not being interfaces, but most functionality is provided in one class. We could redesign both as follows: - MappedByteBufferIOStream (parent) - MappedByteBufferInputStream - MappedByteBufferOutputStream This might visualize things better .. dunno whether its worth the extra redirection. +++ MappedByteBufferInputStream: - Adding [file] resize support via custom FileResizeOp - All construction happens via ctors - Handle refCount, incr. by ctor and getOutputStream(..), decr by close - Check whether stream is closed already -> IOException - Simplify / Reuse code MappedByteBufferOutputStream: - Adding simple write operations The file was added src/java/com/jogamp/common/nio/MappedByteBufferOutputStream.java (diff) The file was modified make/scripts/runtest-x64.bat (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java (diff) The file was modified make/scripts/runtest-x32.bat (diff) The file was added src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java (diff) The file was modified src/java/com/jogamp/common/nio/MappedByteBufferInputStream.java (diff) The file was modified make/scripts/runtest.sh (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java (diff) The file was modified src/java/com/jogamp/common/nio/ByteBufferInputStream.java (diff) The file was added src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java (diff) The file was modified make/scripts/runtest.sh (diff) The file was modified src/java/com/jogamp/common/nio/MappedByteBufferInputStream.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java (diff) The file was modified src/java/com/jogamp/common/nio/MappedByteBufferOutputStream.java (diff)
Commit
a7a3d5ab98ee0ad33fdef50bf081afeb8295ebe4
by Sven Gothel MappedByteBuffer*Stream: - Validate active and GC'ed mapped-buffer count in cleanAllSlices() via close() .. - Fix missing unmapping last buffer in notifyLengthChangeImpl(), branch criteria was off by one. - cleanSlice(..) now also issues cleanBuffer(..) on the GC'ed entry, hence if WeakReference is still alive, enforce it's release. - cleanBuffer(..) reverts FLUSH_PRE_HARD -> FLUSH_PRE_SOFT in case of an error. - flush() -> flush(boolean metaData) to expose FileChannel.force(metaData). - Add synchronous mode, flushing/syncing the mapped buffers when in READ_WRITE mapping mode and issue FileChannel.force() if not READ_ONLY. Above is implemented via flush()/flushImpl(..) for buffers and FileChannel, as well as in syncSlice(..) for buffers only. flush*()/syncSlice() is covered by: - setLength() - notifyLengthChange*(..) - nextSlice() Always issue flushImpl() in close(). - Windows: Clean all buffers in setLength(), otherwise Windows will report: - Windows: Catch MappedByteBuffer.force() IOException - Optimization of position(..) position(..) is now standalone to allow issuing flushSlice(..) before gathering the new mapped buffer. This shall avoid one extra cache miss. Hence rename positionImpl(..) -> position2(..). - All MappedByteBufferOutputStream.write(..) methods issue syncSlice(..) on the last written current slice to ensure new 'synchronous' mode is honored. +++ Unit tests: - Ensure test files are being deleted - TestByteBufferCopyStream: Reduced test file size to more sensible values. - The file was modified make/scripts/runtest-x64.bat (diff) The file was modified make/scripts/runtest.sh (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java (diff) The file was modified src/java/com/jogamp/common/nio/MappedByteBufferInputStream.java (diff) The file was modified src/junit/com/jogamp/common/util/TestIOUtil01.java (diff) The file was modified src/java/com/jogamp/common/nio/MappedByteBufferOutputStream.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java (diff) The file was added make/scripts/make.gluegen.all.macosx-java6.sh (diff) The file was removed make/scripts/make.gluegen.all.macosx-java7.sh (diff) The file was modified make/scripts/make.gluegen.all.macosx.sh (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java (diff)
Commit
bd240ebfe09b7c7a21689dee8be0cc673eb7f340
by Sven Gothel MappedByteBufferInputStream: Default CacheMode is FLUSH_PRE_HARD now (was FLUSH_PRE_SOFT) FLUSH_PRE_SOFT cannot be handled by some platforms, e.g. Windows 32bit. FLUSH_PRE_HARD is the most reliable caching mode and it will fallback to FLUSH_PRE_SOFT if no method for 'cleaner' exists. Further, FLUSH_PRE_HARD turns our to be the fastest mode as well. The file was modified src/java/com/jogamp/common/nio/MappedByteBufferInputStream.java (diff)
Commit
fb60db3a633d82a0323f066a98a8a9fadf3ecff5
by Sven Gothel SingletonTestCase: Move singleton test impl. from JOGL's UITestCase, inherit from JunitTracer and use it for all tests. - Certain performance tests don't make sense utilizing several jenkins unit tests on one machine, hence singleton test execution is desired. - JOGL's UITestCase also will derive from this SingletonTestCase The file was modified src/junit/com/jogamp/common/util/TestBitstream02.java (diff) The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/PCPPTest.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java (diff) The file was modified src/junit/com/jogamp/common/util/TestRunnableTask01.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java (diff) The file was modified src/junit/com/jogamp/common/util/TestJarUtil.java (diff) The file was modified src/junit/com/jogamp/common/util/TestIOUtil01.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUri02Composing.java (diff) The file was modified src/junit/com/jogamp/common/nio/BuffersTest.java (diff) The file was modified src/junit/com/jogamp/common/util/TestVersionNumber.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUri99LaunchOnReservedCharPathBug908.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUri01.java (diff) The file was added src/junit/com/jogamp/junit/util/SingletonTestCase.java (diff) The file was modified src/junit/com/jogamp/common/util/TestPlatform01.java (diff) The file was modified src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestBuffersFloatDoubleConversion.java (diff) The file was modified src/junit/com/jogamp/common/os/TestElfReader01.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java (diff) The file was modified src/junit/com/jogamp/common/util/TestBitstream03.java (diff) The file was modified src/junit/com/jogamp/common/util/IntIntHashMapTest.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUri03Resolving.java (diff) The file was modified src/junit/com/jogamp/common/util/TestSystemPropsAndEnvs.java (diff) The file was modified src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java (diff) The file was modified src/junit/com/jogamp/common/net/AssetURLConnectionBase.java (diff) The file was modified src/junit/com/jogamp/common/util/TestIteratorIndexCORE.java (diff) The file was modified src/junit/com/jogamp/common/util/TestBitstream04.java (diff) The file was modified src/junit/com/jogamp/common/util/TestTempJarCache.java (diff) The file was modified src/junit/com/jogamp/common/util/TestVersionInfo.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java (diff) The file was modified src/junit/com/jogamp/common/util/IntObjectHashMapTest.java (diff) The file was modified src/junit/com/jogamp/common/util/LongIntHashMapTest.java (diff) The file was modified src/junit/com/jogamp/common/util/TestBitstream01.java (diff) The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff) The file was modified src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen02.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUrisWithAssetHandler.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java (diff) The file was modified src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java (diff) The file was modified src/junit/com/jogamp/common/util/TestBitstream00.java (diff) The file was modified src/junit/com/jogamp/common/util/TestVersionSemantics.java (diff) The file was modified src/junit/com/jogamp/junit/sec/TestSecIOUtil01.java (diff) The file was modified src/junit/com/jogamp/common/util/TestArrayHashSet01.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUriQueryProps.java (diff) The file was modified src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java (diff) The file was modified src/junit/com/jogamp/junit/util/JunitTracer.java (diff) The file was modified src/junit/com/jogamp/common/util/TestFloatStack01.java (diff) The file was modified .gitignore (diff) The file was modified src/junit/com/jogamp/junit/util/SingletonTestCase.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUriQueryProps.java (diff) The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/PCPPTest.java (diff) The file was modified src/junit/com/jogamp/common/util/LongIntHashMapTest.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java (diff) The file was modified src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java (diff) The file was modified src/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen02.java (diff) The file was modified src/junit/com/jogamp/common/util/TestIteratorIndexCORE.java (diff) The file was modified src/junit/com/jogamp/common/util/TestArrayHashSet01.java (diff) The file was modified src/junit/com/jogamp/common/util/TestJarUtil.java (diff) The file was modified src/junit/com/jogamp/common/util/TestBitstream03.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUri99LaunchOnReservedCharPathBug908.java (diff) The file was modified src/junit/com/jogamp/common/util/TestPlatform01.java (diff) The file was modified src/junit/com/jogamp/common/util/TestTempJarCache.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferInputStream.java (diff) The file was modified src/junit/com/jogamp/common/util/locks/TestSingletonServerSocket02.java (diff) The file was modified src/junit/com/jogamp/common/util/TestFloatStack01.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestBuffersFloatDoubleConversion.java (diff) The file was modified src/junit/com/jogamp/common/nio/BuffersTest.java (diff) The file was modified src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java (diff) The file was modified src/junit/com/jogamp/common/util/TestBitstream02.java (diff) The file was removed src/junit/com/jogamp/junit/util/SingletonTestCase.java (diff) The file was modified src/junit/com/jogamp/common/util/TestVersionSemantics.java (diff) The file was modified src/junit/com/jogamp/common/util/IntObjectHashMapTest.java (diff) The file was modified src/junit/com/jogamp/common/util/TestBitstream04.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUri02Composing.java (diff) The file was modified src/junit/com/jogamp/common/util/TestBitstream01.java (diff) The file was modified src/junit/com/jogamp/common/util/TestIOUtil01.java (diff) The file was modified src/junit/com/jogamp/common/os/TestElfReader01.java (diff) The file was modified src/junit/com/jogamp/common/util/locks/TestSingletonServerSocket00.java (diff) The file was modified src/junit/com/jogamp/common/util/TestVersionInfo.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUri01.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferCopyStream.java (diff) The file was modified src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java (diff) The file was modified src/junit/com/jogamp/common/util/locks/TestSingletonServerSocket01.java (diff) The file was modified src/junit/com/jogamp/common/util/TestSystemPropsAndEnvs.java (diff) The file was added src/junit/com/jogamp/junit/util/SingletonJunitCase.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUri03Resolving.java (diff) The file was modified src/junit/com/jogamp/common/net/AssetURLConnectionBase.java (diff) The file was modified src/junit/com/jogamp/common/net/TestUrisWithAssetHandler.java (diff) The file was modified src/junit/com/jogamp/common/util/IntIntHashMapTest.java (diff) The file was modified src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass.java (diff) The file was modified src/junit/com/jogamp/common/util/TestVersionNumber.java (diff) The file was modified src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java (diff) The file was modified src/junit/com/jogamp/common/util/TestBitstream00.java (diff) The file was modified src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java (diff) The file was modified src/junit/com/jogamp/common/util/TestRunnableTask01.java (diff) The file was modified src/junit/com/jogamp/junit/sec/TestSecIOUtil01.java (diff) The file was modified src/junit/com/jogamp/junit/util/SingletonJunitCase.java (diff)