Predictable bytecode cache with prefetch mechanism for a java processor

A time predictable bytecode cache with prefetch mechanism is proposed. It lets the CPU execute 4-byte per 2.42 cycles averagely. This leaves lots of time for prefetching. For each basic block, the time of prefetching and bytecode consumption can be computed accurately. Thus, the cache miss can be figured out in advance. It makes WCET analysis possible. Furthermore, this approach can be used in the method cache proposed in JOP that is time predictable with the miss only occurs on invoke and return. It deducts the time delay on invoke and return without changing any other properties of the method cache.