Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3672042
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:33:39+00:00 2026-05-19T02:33:39+00:00

Is there any library like Intel TBB in Java which support Parallelism.

  • 0

Is there any library like Intel TBB in Java which support Parallelism.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T02:33:39+00:00Added an answer on May 19, 2026 at 2:33 am

    Perhaps you could clarify what exactly you are looking for

    Intel® Threading Building Blocks (Intel TBB) offers a rich and complete approach to expressing parallelism in a C++ program. It is a library that helps you take advantage of multi-core processor performance without having to be a threading expert. Intel TBB is not just a threads-replacement library. It represents a higher-level, task-based parallelism that abstracts platform details and threading mechanisms for scalability and performance.

    This is what the concurrency libraries have done since 1998 and were made part of Java 5.0 in 2004.

    EDIT: Say you want a thread pool which can use all the logical processors on your system.

    ExecutorService es = Executors.newFixedThreadPool(
          Runtime.getRuntime().availableProcessors);
    
    // to add a number of tasks
    for(int i=0; i<numberOfTasks; i++) {
       es.submit(new Callable<ResultType>() {
          public ResultType call() {
              return doWork(i);
          }
       }
    }
    

    This will performs doWork on each free thread.

    Looking at its features they look very familiar.

    I had a look at some of the low level optimisations like thread aware memory allocation. In Java this is called TLAB (Thread Local Allocation Buffers) and is transparent. I suspect most Java developers don’t even know they exist.

    Results and Exceptions are captured for you in a Future object which you can inspect later.

    You can have “condition variables” such as CountdownLatch or CyclicBarrier

    A new container mimicking C++ 0x unordered_map and based on a joint specification implemented by both Intel (TBB 3.0) and Microsoft (Visual Studio 2010). It has three advantages over the previous concurrent_hash_map:

    • An interface closely resembling the C++0x unordered_map
    • It permits concurrent insertion and traversal.
    • No locking is exposed by the interface. An implementation may use locks internally, but the locking is never exposed in a way that can contribute to deadlock. It may hold locks internally, but never while calling user defined code.

    Java’s ConcurrentHashMap supports the ConcurrentMap and Map interfaces, permits concurrent insertion and traversal and does not expose any locks. 😉 It is at least 9 years old so you know it should be robust and stable.

    There is a PriorityQueue which you can use in you thread pool if you wish.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any free java library which I can use to convert string in
Following this question: Good crash reporting library in c# Is there any library like
Is there any Java library that supports hierarchical column? For example (the first three
Is there any library available to query Btrieve databases without buying something from Pervasive?
Is there any library function for this purpose, so I don't do it by
Is there any framework/library for using ASP.NET Membership Provider with confirmation email, something ready
Is there any scripting library for Audacity? Specifically, I'm looking for a way to
Does anybody know if there is any library of managed wrappers that allows me
These ribbon in stackoverflow and uservoice.com looks nice. is there any javascript library/jquery plugin
Is there any regular expression library that i can use with CString of vc6?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.