Chris Quenelle is a tools developer at Oracle Corp. He's worked on performance and debugging tools at Sun and Oracle for over 15 years. He reads comic books and science fiction,and has more tivos than he can keep track of. | I faithfully scan the tables of contents for IEEE Computer every time it comes out,and every now and then there’s a paper that I find both interesting and well written. Today I found one called:“Taking Parnas’s Principles to the Next Level:Declarative Language Design”by Daniel E. Cooke and J. Nelson Rushton,at [...] Darryl Gove has been working on graphical display of shared library dependencies. It seems useful for performance analysis and debugging of dynamically linked applications. He did one for StarOffice and for Firfox and Thunderbird. StarOffice:http://blogs.sun.com/d/entry/drawing_libraries_neater_eye_candy Firefox,Thunderbird:http://blogs.sun.com/d/entry/graph_of_libraries_used_by Permalink OpenSolaris tips (Direct document link) Reboot to a specific boot environment: # bootadm list-menu the location for the active GRUB menu is:/rpool/boot/grub/menu.lst default 0 timeout 10 0 zfsbe1 1 zfsbe1 Solaris xVM 2 zfsbe1 failsafe 3 zfsbe2 4 zfsbe2 [...] There are all kinds of programming languages,and they all have their strengths and weaknesses. Sometimes you want fast prototyping,sometimes you want massive scalability,sometimes you want easy availability of a large library of preexisting code,or access to a specific framework. Strong typing is useful,duck typing is useful,running on a virtual [...] I’ve spent a number of years in the dbx group at Sun,and over time you collect a lot of coulda-woulda-shoulda stories. You know what I mean,“This code should really have been designed to do XYZ.” Or “This module shouldn’t have to talk to that module.” I figured I’d try to record some of [...] We’re making the internal transition to building Sun Studio on Solaris 10 (instead of Solaris 9). This is a big deal because the product bits immediately become useless on any Solaris 9 system. There’s a new libm.so.2 library that became available on Solaris 10,and if you depend on it,you can’t run on Solaris [...] I was reading the RSS feed for dzone and saw this well written introduction to Functional Programming. Since people have been discussing adding closures to Java,I started reading more about functional programming languages. After spending many years watching people struggle with multi-threaded programs,I’m beginning to think function programming languages might be ready to [...] In Solaris,many of the routines called from libc are “direct bound”so that references from inside libc will always find the function implementations that are inside libc. This approach prevents outside libraries from interposing (substituting) different implmentations of common functions. The largest exception to this is the malloc family of routines. The malloc routines [...] Note:I’m just an engineer at Sun. What follows is my own personal perspective,and not to be taken as Sun’s official opinion in any way. To the best of my knowledge I’m not giving away any trade secrets,but I am speaking frankly about Sun’s business model. I attended an all-hands meeting with Rich [...] One of the things that’s really hard about debugging threaded programs is tracking down which threads own which locks,and figuring out which locks they are supposed to own. In other words,synchronization bugs. The most difficult symptom to debug is data corruption,because it’s very hard to track down exactly where things start to [...] | |