This discussion is archived
10 Replies Latest reply: Jun 12, 2012 11:16 AM by 943220 RSS

Do you advise setting -XX:-UsePopCountInstruction to avoid JVM#7063674?

keithwall Newbie
Currently Being Moderated
Hello

Our project uses BDB JE 5.0.48 and 4.0.103.

We are discussing the implications of [JVM defect 7063674|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7063674] on our project. Whilst we have not encountered a defect that we can attribute to this bug, another team here (not using BDB JE) has been affected by this JVM issue, and this has caused us to sweep through our code and our dependencies. This sweep has prompted this question.

We notice that BDB JE makes use of Integer.bitCount and BitSet.cardinality. Do you currently suggest use of the -XX:-UsePopCountInstruction at suggested by 7063674 on platforms affected by this issue?

Kind regards, Keith Wall.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points