diff mbox

[aarch64-port-dev] Problematic frame: ~BufferBlob::InlineCacheBuffer

Message ID 1378550272.18050.YahooMailNeo@web164602.mail.gq1.yahoo.com
State New
Headers show

Commit Message

Cao Hoang Thu Sept. 7, 2013, 10:37 a.m. UTC
Hi Edward,

Yes, all ok, don't crash..... except pending on test-case startup.compiler.sunflow (SPECjvm2008)

--- --- --- --- --- --- --- --- ---

  Benchmark:   startup.compiler.sunflow
  Run mode:    static run
  Test type:   single
  Threads:     1
  Iterations:  1
  Run length:  1 operation

Iteration 1 (1 operation) begins: Sat Sep 07 10:34:58 GMT 2013

Regards,
Thu Cao
diff mbox

Patch

diff -r 6cb0224e9626 -r 49648b3f8a17 src/cpu/aarch64/vm/icBuffer_aarch64.cpp
--- a/src/cpu/aarch64/vm/icBuffer_aarch64.cpp    Thu Sep 05 18:16:19 2013 +0100
+++ b/src/cpu/aarch64/vm/icBuffer_aarch64.cpp    Fri Sep 06 14:39:51 2013 +0100
@@ -55,6 +55,8 @@ 
   masm->b(ExternalAddress(entry_point));
   masm->bind(l);
   masm->emit_int64((int64_t)cached_value);
+  // Only need to invalidate the 1st two instructions - not the whole ic stub
+  ICache::invalidate_range(code_begin, NativeInstruction::instruction_size * 2);
   0;
}

--- CUT HERE ---