This patch adds a (diagnostic) flag to disable the inline assembler write barrier code. This should enable to measure the performance impact of it. http://cr.openjdk.java.net/~rkennke/disableasmwb/webrev.00/ Ok?