Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/thread.cpp @ 12233:40136aa2cdb1
8010722: assert: failed: heap size is too big for compressed oops
Summary: Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.
Reviewed-by: stefank, dholmes
author | tschatzl |
---|---|
date | Wed, 11 Sep 2013 16:25:02 +0200 |
parents | 27ffd1c4537b |
children | 06ae47d9d088 |
comparison
equal
deleted
inserted
replaced
12230:040895ec3920 | 12233:40136aa2cdb1 |
---|---|
3327 | 3327 |
3328 // Parse arguments | 3328 // Parse arguments |
3329 jint parse_result = Arguments::parse(args); | 3329 jint parse_result = Arguments::parse(args); |
3330 if (parse_result != JNI_OK) return parse_result; | 3330 if (parse_result != JNI_OK) return parse_result; |
3331 | 3331 |
3332 os::init_before_ergo(); | |
3333 | |
3334 jint ergo_result = Arguments::apply_ergo(); | |
3335 if (ergo_result != JNI_OK) return ergo_result; | |
3336 | |
3332 if (PauseAtStartup) { | 3337 if (PauseAtStartup) { |
3333 os::pause(); | 3338 os::pause(); |
3334 } | 3339 } |
3335 | 3340 |
3336 #ifndef USDT2 | 3341 #ifndef USDT2 |