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. | 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 [...] A new update to Solaris Express Developer Edition is out. It has the latest and greatest Solaris Nevada build,along with all the development tools you could ever want. Well,I dunno,I can want a lot,but there’s a bunch of tools in there. My favorite parts are Sun Studio 12 and Solaris Nevada,[...] Phil Harmon wrote a blog entry over a year ago ( Solaris Threads Tunables ) where he mentioned a list of tunable parameters that you can use to fiddle around with the implementation of Solaris libthread. You can fine tune the spin-lock timeouts,and other timing details. But one of the flags that he mentioned [...] At least on Solaris. So far. Of course,in the UNIX world good API’s tend to get migrate into other implementations,so I hope Linux hackers will take note. 6497356 fork extensions (PSARC 2006/659) The vfork call in UNIX has always been a serious issue when you’re using threads,and the posix_spawn API did a [...] I tried out the wizzy new Solaris patch GUI (updatemanager) a while back to see whether it was actually usable,and I had issues with it. First of all it was really,really,slow when it had to analyze the currently installed patches. Like it was so slow,you couldn’t tell whether it was hung [...] 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 [...] Vijay forwarded me an email from Eugene and here’s what I wrote: Eugene wrote:I have a code and I’d like to figure out where the user code is when brk is being called. Can this be done with truss? If it’s done with dtrace I need some serious handholding. Canned scripts (or whatever) would [...] I have not seen any good simple tutorials on how to use libumem for debugging. (Unless you also want to learn how to use mdb). So I wrote a simple example. % more t.c #include #include int main(){ int i; free(&i); i = 10; char * p = (char *) [...] The mdb debugger has some really nifty integration with libumem,as documented in this technical article,and Adam Leventhal’s famous Top 20 Blog. I got a request recently asking if dbx had similar features. I think the engineer who asked was already familiar with the memory checking features dbx has (Run Time Checking),but the [...] | |