This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-03-24 11:22:00 | |
Full thread dump OpenJDK 64-Bit Server VM (25.332-b09 mixed mode): | |
"RMI TCP Connection(2)-192.168.68.53" #66 daemon prio=5 os_prio=0 tid=0x00000173573c2800 nid=0x55a8 runnable [0x000000648192d000] | |
java.lang.Thread.State: RUNNABLE | |
at java.net.SocketInputStream.socketRead0(Native Method) | |
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) | |
at java.net.SocketInputStream.read(SocketInputStream.java:171) | |
at java.net.SocketInputStream.read(SocketInputStream.java:141) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ OpService ops | |
#@ ImgPlus image | |
#@OUTPUT ImgPlus copy | |
#@OUTPUT Integer a | |
a = 21 | |
copy = ops.copy().img(image.getImg()) | |
c = copy.cursor() | |
c.fwd() | |
v = c.get().copy() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
import java.util.StringJoiner; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.TimeUnit; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public class Sandbox { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
import java.util.StringJoiner; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.TimeUnit; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public class Sandbox { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.google.com/presentation/d/1E_sYCh00fSGYmSue_PRifqaGJ61RnstMdcX5c_c1jWM/edit?usp=sharing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[WARNING] Javadoc Warnings | |
[WARNING] /Users/mhiner/loci/scifio/scifio/src/main/java/io/scif/formats/TIFFFormat.java:990: warning - Tag @link: can't find initStandardMetadata(Metadata) in io.scif.formats.TIFFFormat.BaseTIFFParser | |
[WARNING] /Users/mhiner/loci/scifio/scifio/src/main/javadoc/io/scif/package-info.java:347: warning - Tag @link: reference not found: Plane | |
[WARNING] /Users/mhiner/loci/scifio/scifio/src/main/javadoc/io/scif/package-info.java:347: warning - Tag @link: reference not found: RandomAccessInputStream | |
[WARNING] /Users/mhiner/loci/scifio/scifio/src/main/javadoc/io/scif/img/package-info.java:51: warning - Tag @link: reference not found: net.imglib2.img.ImgPlus | |
[WARNING] /Users/mhiner/loci/scifio/scifio/src/main/javadoc/io/scif/img/package-info.java:51: warning - Tag @link: reference not found: net.imglib2.img.ImgPlus | |
[WARNING] /Users/mhiner/loci/scifio/scifio/src/main/javadoc/io/scif/img/package-info.java:51: warning - Tag @link: reference not found: io.scif.io.img.ImgOpener | |
[WARNING] /Users/m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
components/loci-legacy/src/loci/common/AbstractNIOHandle.java | |
components/loci-legacy/src/loci/common/BZip2Handle.java | |
components/loci-legacy/src/loci/common/ByteArrayHandle.java | |
components/loci-legacy/src/loci/common/CBZip2InputStream.java | |
components/loci-legacy/src/loci/common/CRC.java | |
components/loci-legacy/src/loci/common/CaseInsensitiveLocation.java | |
components/loci-legacy/src/loci/common/Constants.java | |
components/loci-legacy/src/loci/common/DataTools.java | |
components/loci-legacy/src/loci/common/DateTools.java | |
components/loci-legacy/src/loci/common/DebugTools.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# History checking script | |
# | |
# This script checks out each commit that | |
# exists on a dev_branch but not a base_branch. | |
# "ant clean tools" is run on that branch, | |
# and a log file is written with the results | |
# of the build to | |
# <log_dir>/<PASSED/FAILED><commit hash><commit message>.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following images show memory leaks due to mapped images not being cleaned up. | |
The MemoryOverview shows two hard reference paths keeping byte[] instances alive (blue and green). They both go through python classes to a HashMap. | |
The Objects1 and Objects2 images show these two paths expanded and reveals that we likely have two paths to the same map, and thus to the same set of objects. | |
Persumably our Python code is making these mappings but not cleaning up after them. Persumably there is also a hard reference to these images in ImageJ itself, so it would make sense on the Python side to cache WeakReferences to the images - or add some callback that ensures these mappings are eventually removed (or manually clean the maps at the end of the script). | |
To find the problematic python code we can look for the relevant variable names (snapshotPixels, rLUT1, bLUT1, gLUT1, etc...) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// search for TODO sections to see parameters that still need tuning | |
//This macro takes a 3-channel 16 bit immunofluorescance image as input. | |
// channel 1 (red): SC | |
// channel 2 (green): foci | |
// channel 3 (blue): centromeres | |
//The primary goal of this macro is to identify rois covering main cell features, | |
//measure the total distance of skeletonized SC, number of foci on each SC and distance from foci to the centromere on the same skeleton | |
// Requirements: |
NewerOlder