Mercurial > hg > graal-jvmci-8
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotXirGenerator.java @ 1438:a7a0ef3c6858
Added timing printout on VM shutdown.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Mon, 25 Oct 2010 18:35:34 +0200 |
parents | 9e5e83ca2259 |
children | 4d1d3bd140f9 |
comparison
equal
deleted
inserted
replaced
1437:9e5e83ca2259 | 1438:a7a0ef3c6858 |
---|---|
253 } | 253 } |
254 asm.mark(MARK_INVOKESPECIAL); | 254 asm.mark(MARK_INVOKESPECIAL); |
255 | 255 |
256 // -- out of line ------------------------------------------------------- | 256 // -- out of line ------------------------------------------------------- |
257 asm.bindOutOfLine(stub); | 257 asm.bindOutOfLine(stub); |
258 XirOperand method = asm.createRegister("method", CiKind.Word, AMD64.rbx); | 258 XirOperand method = asm.createRegister("method", CiKind.Object, AMD64.rbx); |
259 asm.mark(MARK_STATIC_CALL_STUB, XirMark.CALLSITE); | 259 asm.mark(MARK_STATIC_CALL_STUB, XirMark.CALLSITE); |
260 asm.mov(method, asm.w(0L)); | 260 asm.mov(method, asm.w(0L)); |
261 XirLabel dummy = asm.createOutOfLineLabel("dummy"); | 261 XirLabel dummy = asm.createOutOfLineLabel("dummy"); |
262 asm.jmp(dummy); | 262 asm.jmp(dummy); |
263 asm.bindOutOfLine(dummy); | 263 asm.bindOutOfLine(dummy); |
276 XirLabel stub = asm.createOutOfLineLabel("call stub"); | 276 XirLabel stub = asm.createOutOfLineLabel("call stub"); |
277 asm.mark(MARK_INVOKESTATIC); | 277 asm.mark(MARK_INVOKESTATIC); |
278 | 278 |
279 // -- out of line ------------------------------------------------------- | 279 // -- out of line ------------------------------------------------------- |
280 asm.bindOutOfLine(stub); | 280 asm.bindOutOfLine(stub); |
281 XirOperand method = asm.createRegister("method", CiKind.Word, AMD64.rbx); | 281 XirOperand method = asm.createRegister("method", CiKind.Object, AMD64.rbx); |
282 asm.mark(MARK_STATIC_CALL_STUB, XirMark.CALLSITE); | 282 asm.mark(MARK_STATIC_CALL_STUB, XirMark.CALLSITE); |
283 asm.mov(method, asm.w(0L)); | 283 asm.mov(method, asm.w(0L)); |
284 XirLabel dummy = asm.createOutOfLineLabel("dummy"); | 284 XirLabel dummy = asm.createOutOfLineLabel("dummy"); |
285 asm.jmp(dummy); | 285 asm.jmp(dummy); |
286 asm.bindOutOfLine(dummy); | 286 asm.bindOutOfLine(dummy); |