RFR (S): 8067014: LinearScan::is_sorted significantly slows down fastdebug builds' performance (original) (raw)
Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Mar 6 11:41:53 UTC 2015
- Previous message: RFR (S): 8067014: LinearScan::is_sorted significantly slows down fastdebug builds' performance
- Next message: RFR (S): 8067014: LinearScan::is_sorted significantly slows down fastdebug builds' performance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Filipp,
On 06.03.2015 14:33, Filipp Zhinkin wrote:
In certain cases (like -client -Xcomp) C1 compilation is very slow w/ fastdebug builds. A place where we spent enormous amount of time is LinearScan::issorted method, which simply verifies that a list that should be sorted is actually sorted and that both sorted and unsorted lists contains same intervals.
Okay, what caller of is_sorted dominates? Maybe instead of optimizing the is_sorted itself, you need to move/relax the assert in some selected places?
That is to say I am not fond of complicating the non-product code that does verification without a compelling reason to do so; let's first figure out if we "just" do excess asserts.
Thanks, -Aleksey.
-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150306/e3aa9d24/signature.asc>
- Previous message: RFR (S): 8067014: LinearScan::is_sorted significantly slows down fastdebug builds' performance
- Next message: RFR (S): 8067014: LinearScan::is_sorted significantly slows down fastdebug builds' performance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the hotspot-compiler-dev mailing list