Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: Virtual Machine

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Programming

If you want to work for DropBox, they have an interesting programming test which solution must be submitted together with the CV. I’m not considering a position at DropBox, but their test was too fun to ignore: an interesting challenge in algorithms, and another opportunity to exercise JavaFX as any geometric problem surely deserves some GUI. (Don’t read this blog if you actually plan...
on Sep 3, 2010
First off, I want to thank Apple for being such big supporters of Java. You may have gone off and done your own thing, but as Java developers, we still have to give some serious kudos. However, what has been going on with symlinks in the /System/Library/Frameworks/JavaVM.framework/Versions directory is wrong. If I remember correctly, I noticed this at first with the upgrade to Snow Leopard, and...
on Jun 23, 2010
Christmas holidays is one of my favourite moment in the year, I have time to see my relatives, read books, play with my kids and hack a little bit. Forewords I think I don't like the most in the strawman proposal is that the syntax for function type and for lambda literal reuse the same symbol '#'. It's something that I've observed when teaching C. The C syntax use * when you...
on Dec 27, 2009
Last June, Arnold Schwaighofer push a patch to mlvm repository that allow to transform tail call invocation of a method to a jump. Even if this transformation is classical in language like Lisp, Scheme or Caml, the JVM was not offering any help to optimize this kind of call until this patch. Recently, Tom Davies has refreshed the patch in order to be used with a more recent...
on Dec 18, 2009
Java VM embodies continuations now (not in production, in a hacking mode :), This post shows how to write a non-blocking server with continuations. Why using continuation with non blocking IO There are two models when you deals with IO: the thread model: read and write calls block until they at least read one caracter or write the whole buffer, so one use thread to be able to...
on Nov 22, 2009
Let me introduce a new language named pseudo (Why this name ? Why another language ? Why God ? all these questions will be answered in a later blog). One great feature of this language is that it allows gradual typing, i.e. you can assign a type to a parameter, a local variable, etc. or not. If a variable as no type, the compiler consider it as any. You can assign any value...
on Nov 1, 2009
In my last attempt to stress the JavaFX platform, I ported the Strange Attractor demo/benchmark. Different from JavaFX Balls, this is not scenegraph-driven animation, but old-school "pixel by pixel" drawing… still, makes for another batch of interesting findings, including a few issues in the JavaFX Script language and its compiler, and other topics like fractal maths, BigDecimal...
on Oct 29, 2009

GUI

Performance: JavaFX Balls As soon as I've got JavaFX 1.3 and NetBeans 6.9-beta, first thing I did was obviously running benchmarks, and the new update delivers on its promise. Let's first check JavaFX Balls (port of Bubblemark). I've last reported results for 1.2 here; but scores for 1.2 are updated again to account for changes in my test system, remarkably the JDK (now 6u21-ea-b03). Test...
on May 3, 2010

Databases

A big part of  my current company work is related to managing infrastructure hosted in cloud computing environments. I have recently released an open source project (Rain Toolkit) to help ease the management of Amazon EC2 objects. It is a set of command-line tools for performing day-to-day administration tasks. Since Rain Toolkit deals with the management of EC2 resources, it seemed only...
on Mar 16, 2010

Virtual Machine

Lukas Stadler is my hero, at last JVM summit, he just explain how coroutine and friends can be implemented in the VM and guess what, it now works (currently only with C1). Let's try to implement something with it. Generator I have always wanted to have generator in Java. After all, Python have this feature, Ruby and C#(*) too. A generator is a way to define an iterator but instead of...
on Nov 19, 2009
I got a new Intel-based MacBook Pro the other day and decided to try out Sun's xVM VirtualBox software on Mac OSX to install Windows 7 Beta. Here are the steps I followed: Download the software from http://dlc.sun.com/virtualbox/vboxdownload.html#mac. Select the default settings while installing. Download the new windows 7 Beta from the Microsoft website: http://www.microsoft.com/windows/...
on Feb 5, 2009
In a previous comment, Jamsheed asked, ... "In CDC we have garbage collection invocation for fast lock contention case (From my understanding this is done for rolling the object allocation unsafe thread to gcsafe). My question is why should we invoke a gc call for reaching safe point while this can be achieved by simply making try heap lock a blocking lock in gc safe window(with slight...
on Jun 16, 2008
Okay, I must be slipping... I can't believe that I've either totally missed this or completely forgotten about it: At each JavaOne, I end up asking lots of people what, if anything, they've seen that's particularly cool, interesting, etc. This year, I was chatting with Cliff and he mentioned JPC -- an open-source emulator for x86 code. JPC is written Java and so you can run all sorts of old...
on May 10, 2008
Long long ago, so long ago that no body could say how long ago, thousands of people from China, Rome, France and India climbed up a mountain somewhere near Cripple Creek, Colorado and built houses to live in and lived there. The mountain town elected a Mayor who did everything to make life comfortable for the citizens except build a roadway to the rest of the world. They were an enterprising lot...
on Apr 10, 2008
Hmmmm ... two blog questions in the same day. What's an over-worked and busy guy to do? Oh well, I guess the day job can wait just a little while I respond with a few words. :) On March 12, 2008, in a blog comment, Steven North asks ... "Mark, I have found your CVM blogs postings very interesting, but I am trying to track down information about MVM (Multi-tasking Virtual Machine) and JVMTI. I...
on Mar 13, 2008
Hello World! It's been a long time ... ummm ... like 6 months since I last wrote an entry. What can I say? That's the problem with having a day job, and so far, all the ideas for things that I want to write about involves some heavy duty writing that will take up a lot of time. So, I've been putting it off. Sorry. However, this inquiry came in today on one of my previous blog entries. Now,...
on Mar 12, 2008
body { font-family: arial, helvetica, sans-serif; font-size: 10pt; } table.my { font-family: arial, helvetica, sans-serif; font-size: 10pt; background-color: #d3d3d3;#lightgray; border-style: solid; border-width: 1px; border-color: black; border-collapse: collapse; margin: 8px 0px 5px 0px; padding: 2px; width: auto; overflow: auto...
on Nov 16, 2007
body { font-family: arial, helvetica, sans-serif; font-size: 10pt; } pre.listing { display: table; color: black; background-color: lightgray; border-style: solid; border-width: 1px; border-color: darkgray; margin: 1em 0em; padding: 2px; width: auto; overflow: auto; font-family: monospace; } .warning { color: red; font-...
on Aug 30, 2007
A recently published java.sun.com article (to which I minorly contributed), by fellow java.net blogger and Sun engineer, Kelly O'Hair, "The JVM Tool Interface (JVM TI): How VM Agents Work," focuses on VM agents, which are good for assessing what's going on in a JVM. The JVM tool interface (JVM TI) is a standard native API that allows native libraries to capture events and control a Java Virtual...
on Jan 3, 2007

Performance

During the JVM Summit, I was doing some tests for my presentation with the latest jdk7 binaries when I've seen some *BIG* performance improvement between jdk7 b71 and jdk7 b72. A quick look to the summary of changes, hum, Escape Analysis is now enabled by default. On my tests, I got a 3x improvement, Wow ! With a quick micro-benchmark, it's even better, as always :)  ...
on Oct 6, 2009