News and views from the Java SE Development-Kit Community
NetLogo is a multi-agent programmable modeling environment running for the Java platform. In addition to being a GUI program to edit and run NetLogo models, NetLogo supports Controlling API so that NetLogo can be invoked and controlled by a program running on JVM. The "controlling api" supports both GUI and 'headless' mode.
This month I've released Orson PDF version 1.7, a compact and fast API for creating PDF content in Java through the standard Graphics2D API. This release features:
In nashorn openjdk repository http://hg.openjdk.java.net/jdk9/dev/nashorn,
I had hoped to make a first release of i8c today but I still have one open issue so you’ll have to wait until next week. Until then here’s some note source for you to ponder: define test::factorial returns int argument int x extern func int (int) factorial swap dup load 1 bne not_done_yet return […]
I love "Exploratory Programming" (https://en.wikipedia.org/wiki/Exploratory_programming) tools. If you've not already played with "Java REPL" project, you may want to do so! Check out Kulla project.
Clone kulla forest @ http://hg.openjdk.java.net/kulla
and build using these commands:
Flight recorder is most commonly used to dump the last few minutes of data. Either by doing a profiling recording for a minute or so, or by having a continuous recording which is later dumped when some anomaly was discovered using a monitoring tool, for example the JMC JMX console. Sometimes though, people bring me […]
When I said I’d never written a compiler, that’s actually a lie: I did some work on the Ceylon compiler a few years back. It wasn’t a very enriching experience but at least I know what ASTs and visitors are. Anyway, the C-like syntax I talked about Friday might have been a little optimistic. I […]
Yesterday I reworked the note format to allow functions as first-class objects, and then I had an idea about how to implement the note compiler. I’d already thought I could have the compiler emit assembly to avoid having to think about endianness, but I couldn’t figure out how to do other platform-specific stuff like 32- […]
Yesterday I had my first Infinity milestone. I have a glibc with notes implementing libthread_db’s td_ta_map_lwp2thr and a GDB that loads and executes them. I did a side-by-side test calling the Infinity libpthread::map_lwp2thr function every time libthread_db’s td_ta_map_lwp2thr was called and comparing the results… and it worked! You could see the DWARF if you’re interested. […]
In the last article I outlined a pragmatic approach to Java 8's
In this one I'm looking at how we should name query methods that might return
The first release candidate is finally available. It can be downloaded here or from NuGet.
To debug live processes on modern Linux GDB needs four libthread_db functions: td_ta_map_lwp2thr (required for initial attach) td_thr_get_info (required for initial attach) td_thr_tls_get_addr (not required for initial attach, but required for “p errno” on regular executables) td_thr_tlsbase (not required for initial attach, but required for “p errno” for -static -pthread executables) To debug a corefile on […]
I’m writing a replacement for libthread_db. It’s called Infinity. Why? Because libthread_db is a pain in the ass for debuggers. GDB has to watch for inferiors loading thread libraries. It has to know that, for example, on GNU/Linux, when the inferior loads libpthread.so then GDB has to locate the corresponding libthread_db.so into itself and use […]
All times UTC