Menu

#536 Intermitent build warning: out-of-memory (OOM)

fixed
closed
nobody
4
2012-09-21
2006-08-25
Ian Rogers
No

I get an intermintent build warning when compiling
gnu/java/security/provider/Gnu$1.run:

OPT_Compiler ran out of memory during compilation of <
BootstrapCL, Lgnu/java/security/provider/Gnu$1; >.run
()Ljava/lang/Object;
VM_BootImageCompiler: can't optimize "< BootstrapCL,
Lgnu/java/security/provider/Gnu$1; >.run
()Ljava/lang/Object;" (error was:
com.ibm.JikesRVM.opt.OPT_OptimizingCompilerException:
ERROR produced in module:OPT_Compiler
failure during compilation of < BootstrapCL,
Lgnu/java/security/provider/Gnu$1; >.run
()Ljava/lang/Object;
)

The method contains 165 calls to
java/security/Provider.put and it seems likely that
inlining this has led to code explosion.

Ian

Discussion

  • Dave Grove

    Dave Grove - 2006-09-01

    Logged In: YES
    user_id=1215435

    I made the bootimage time inlining heuristics less
    aggressive (ie, made them be just the normal runtime
    heruistics). My guess is that this fixes the problem since
    it significantly reduces bootimage code size and compile
    time. Ian, if you don't see this failure for a while after
    picking up the change (earlier this week, don't remember the
    exact day) then I think we can close the defect.

    thanks,

    --dave

     
  • Ian Rogers

    Ian Rogers - 2006-09-01

    Logged In: YES
    user_id=308843

    I saw the change and it looks good. I will be doing some
    development/production build testing soon. Faster builds are
    also a good thing :-) Well done,
    Ian

     
  • Dave Grove

    Dave Grove - 2006-11-22

    Logged In: YES
    user_id=1215435
    Originator: NO

    Going to close as I think we've got this one licked for now...

     

Log in to post a comment.